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
- Authentication on custom Websocket Serve...
Hi, I want to use a custom Websocket Server (using Bun) for my application. However I cant really figure out authentication on custom servers. Session cookies ...
- Realtime for files() works almost well, ...
I have been trying to make use of realtime, today (14.03.26) I have pulled all the latest versions of docker images, and sdk available. Whats working: - Conn...
- Function issue
Hi,idk whats wrong with my function but i made some changes to the env var and made sure they saved then i redeployed it,but then after it redeeployed it asked ...