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
- Bulk delete failed with 401
- I created a transaction to bulk delete rows in a table has `done` equal `true` follow documentation. But when run, it returns 401 unauthorized error as screen...
- Google Auth not working in a React App
Authentication with Google has failed. It redirects back to the signin route in React. Attached screenshots for configuration of Google console and Appwrite Go...
- Dokploy docker compose
Hey guys hope y'all doing well, I was wondering if anyone could share a working 1.8.0 docker-compose that works with Dokploy I tried making it but it just does...