-
Notifications
You must be signed in to change notification settings - Fork 162
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Suspense throws undefined error #413
Comments
I've run into the same issue. Suspense Here's how the component starts in case it's helpful for troubleshooting @Grubba27 @radekmie
|
Update: (Always happens when you post a comment about something). Discovered the issue happens when I have put a I use Roles to check for the user's access to the publication before sending data over the wire. If they do not have access, they get a
After fixing the Roles check (initially had the wrong role) the page now works. |
|
Yeah, it's a simple overlook here. We assume that all I see three ways out:
|
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 aundefined
.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),
The text was updated successfully, but these errors were encountered: