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
- Paused project can't activate
I have failed to reactivate one my projects which had been paused
- Site deployment keeps getting failed
Hi good folks, need a hand with Sites deploy Error on every deploy: Synchronous function execution timed out... duration doesn't exceed 30 seconds [exact log ...
- Unknown attribute type: varchar / text
Since the `string` type is deprecated I tried using `varchar` and `text` in some newer tables, but when running `appwrite pull tables && appwrite types ./src/li...