meteor / react-packages

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

Suspense throws undefined error #413

Open ToastHawaii opened 1 week ago

ToastHawaii commented 1 week ago

We upgrade from a very old projekt (Openki). We started with blaze and iron router and now migrate to react, async await and meteor v3 step by step. (Working Branch)

Currently we found out that we need react-meteor-data/suspense to support some async await calls on loading data.

If a change happend in the UI the render breaks and if ('error' in cachedSubscription) throw cachedSubscription.error is thrown with a undefined.

I gues it happens because we have mixed up a lot of diffrend librarys with diffrent Tracker in it and something is not update nice. We use blaze, react, react in blaze, iron-router (fixed for v3),