Похожие чаты

I have a zustand store in which I have defined

an async function that logouts user which then redirects to root page
When I click on logout button, the current component gets unmounted, but for a sec or two, there is no component on the screen(blank)

How should I do this so that there is no blank screen in between?

2 ответов

15 просмотров

Why r u using async function in the store? And it would help if u can share the code snippet.....

progmatic99- Автор вопроса
Zeus
Why r u using async function in the store? And it ...

zustand store logout function removed async still doesn't work

Похожие вопросы

Карта сайта