Description
First off, thanks for putting together this library, it's awesome to see parse alive and well.
For some reason, passing the boolean flag to disable the 'enableLocalDatastore' option when calling the useParseQuery method using the @parse/react-ssr module does not appear to disable the corresponding functionality. I took a look at the type definitions and everything seems to be in order, however I still haven't gotten it to work. I am returning the following from a custom hook called in a functional component being rendered on the client side (using Next.js dynamic component)
Hook Call
export const useData = () => {
return useParseQuery(parseQuery, { enableLocalDatastore: false })
}
Functional Component Call
export const Component = () => {
const results = useData()
return (
<div>{results.map((item, idx) => (
<div>{item}</div>
))}
</div>
)
}
Expected behaviour: data not set in local storage
Actual behaviour: data is still being set (and eating up) local storage.
Thanks in advance for any advice - cheers!