Open
Description
Hey, I am implementing Supertokens right now for both native and web and I found that it is way harder than it should be because RN doesnt really has a good concept of loaders and in general it almost feels like useEffect is necessary to correctly get the correct states.
I did get a really good solution now that also uses useSyncExternalStore, however the snapshot function there cannot be async (and what I found online was buggy at best). This would be less of an issue if I could inject the storage function however as I already wrote a function that has sync updates and stores asynchronously in the background.
Is this something that would be feasible to implement?
Metadata
Metadata
Assignees
Labels
No labels