Closed quantuminformation closed 8 years ago
The answer on github indicates the issue:
because window.localStorage not exist in JavaScriptCore. localStorage is a part of Web APIs, but JavaScriptCore is just an javascript engine, not "web browser". You should use AsyncStorage instead of localStorage.
Is there a way to correct this so we can use this library in react native?
I have an observe function in a react native app that is needed by the Parse react mixin:
however when this is run it goes off to look in local storage:
I also created a SO tag for this repo and asked there:
http://stackoverflow.com/questions/33189079/using-parse-react-query-goes-to-local-storage-instead-of-parse-com