
Hey folks i have a doubt . why does redux store re-initializes when i logout (i.e. when i call deleteSessions). Is it default, like how Appwrite works or my code problem

Doubt regarding deleteSessions() [RTK]

I don’t know anything about Redux, but are you doing some kind of account check (account.get()
) on the page? If so, I’d guess this is Appwrite?

@ideclon Yes with useEffect

Calls account .get() as soon as webpage loads.

I just want to check if user is logged in before showing them home page
Recommended threads
- Cannot access my Appwrite database on th...
Hello guys, I am currently developing a web app and using appwrite for authentication, database, storage and messaging. It was working well but since yesterday...
- Nuxt Middleware Support
So I'm trying to protect some routes so that the user is redirected back to the login screen should they not have an active session. However, I'm stuck in a lo...
- Sites Problem
Hi, I keep getting this problem when deploying my site. I have already made sure the site is active which it is. It even shows the preview of my site but when ...
