react-packages icon indicating copy to clipboard operation
react-packages copied to clipboard

Suspense throws undefined error

Open ToastHawaii opened this issue 1 year ago • 4 comments

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),

ToastHawaii avatar Nov 13 '24 10:11 ToastHawaii