meteor / react-packages

Meteor packages for a great React developer experience
http://guide.meteor.com/react.html
Other
571 stars 157 forks source link

Invalid hook call – react-meteor-data 2.3.2 #339

Closed cstrat closed 3 years ago

cstrat commented 3 years ago

https://forums.meteor.com/t/invalid-hook-call-react-meteor-data/56249

Basically anywhere I am using useTracker I get this error:

This bug only appears in version 2.3.2, not in 2.3.1.

I am going to look over the changelog to see if I can find the culprit...

cstrat commented 3 years ago

It doesn't look like there were any meaningful changes in 2.3.2...

StorytellerCZ commented 3 years ago

Fixed in 2.3.3

derwaldgeist commented 3 years ago

Just ran into this when upgrading Meteor 1.10.2 to 2.2.1. It should be mentioned in the 2.2.1 change log that you have to manually upgrade to 2.3.3 afterwards. It's a breaking change IMHO.