meteor / react-packages

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

Meteor and React V18 incompatibility #355

Closed KrisjanisStrods closed 2 years ago

KrisjanisStrods commented 2 years ago

After updating react and react-dom version to V18, code-breaking changes are introduced in components that are using useTracker from 'meteor/react-meteor-data';.

What ends up happening is, that component gets infinitely re-rendered.

Before V18 update: Working

After V18 update: NOT_Working

Steps to reliably reproduce the found bug are outlined in the following repo: https://github.com/KrisjanisStrods/meteor-and-react-V18-incompatibility

CaptainN commented 2 years ago

This should go with #354

KrisjanisStrods commented 2 years ago

Close because of duplicated #354