
I am using svelte with appwrite to get the user. I wrote a svelte store to subscribe to realtime connection with following events. user.${userId}.session.*. Does it equivalent to firebase OnAuthChanged hook.? I want userStore to be updated whenever the realtime channel with given event is fired.

The Appwrite SDK works differently than the firebase SDK so it does not have an onAuthChanged hook.

usually, it's not needed. I call account.get()
and store the result on app start and then i clear the user state on logout.
Recommended threads
- fix ip function for whitelisting
Hello, any recommendation how to make IP of Appwrite Function on cloud is fixed for whitelisting purpose?
- [BUG] Next.js 16 is broken on appwrite.
The latest version of Next.js fails to build on appwrite and shows the error: `Adapter mismatch. Detected: static does not match with the set adapter: ssr` whil...
- 500 Internal Server Error
This error shows 500 on live site, but it works perfectly on Localhost.
