-
Notifications
You must be signed in to change notification settings - Fork 167
Description
Using more than a few suspense trackers that have the same suspense results in really slow loading times. This is quite a pain, as it is currently a roadblock in our way to transition to Meteor V3.
We have quite a lot of isomorphic code we need to make async and the suspense trackers are documented in the official Meteor migration guide as a way to handle that. Guide
The problem is that using more than just a few of them results in really slow loading times. I have not yet been able to pin the exact amount - on larger production apps with more React components it seems to be around 4-5, but on a fresh Meteor app (reproduction repo below) more than 10 start being a problem.
Reproduction is quite simple.
meteor npm i- Start the meteor app with
npm run startornpm run start-single-databaseif there's a MongoDB instance running on the machine. - The component that has the trackers in it is the one under the
/route - alternatively, watch the demo video I uploaded in the repo
Would really appreciate help with this issue, or ideas for contributing to resolve it.