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
- self-hosted auth: /v1/account 404 on saf...
Project created in React/Next.js, Appwrite version 1.6.0. Authentication works in all browsers except Safari (ios), where an attempt to connect to {endpoint}/v1...
- delete document problems
i don't know what's going on but i get an attribute "tournamentid" not found in the collection when i try to delet the document... but this is just the document...
- Update User Error
```ts const { users, databases } = await createAdminClient(); const session = await getLoggedInUser(); const user = await users.get(session.$id); if (!use...