parse-community/parse-react

useParseQuery close livequery fail, set options doesn't work

scottjeremy opened this issue · 1 comments

  1. When I use useParseQuery func
const { isLive, isSyncing, isLoading, results, error } = useParseQuery(query, {
    enableLiveQuery: false //  not work.
});
  1. This still turns on LiveQuery

  2. I found the problem

parse-react-ssr
In parse-react-ssr, when I set enableLiveQuery false, this is always going to be undefined.

parse-react-base
In parse-react-base, when undefined is received, it is always set to true.