You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've broken out the remaining work from this PR to meteor/react-packages#332 (useFind and a new version of useSubscribe added to react-meteor-data) and meteor/react-packages#333 (new package: react-meteor-state with useMeteorState hook).
I'll do the same for react-meteor-accounts and that will obsolete this PR.
That said, I think you should be fine replacing the calls with useTracker or something similar — the key for this is replacing the subscription (useSubscribe or Meteor.subscribe), and then you get the benefit of Suspense meaning the data will be there below that. How you then get the data is probably irrelevant.
Hey awesome job on this! Where's
useCursor
coming from in the readme examples? Is it the same as doing this:useTracker(() => MyCollection.find())
?The text was updated successfully, but these errors were encountered: