Closed janat08 closed 6 years ago
@janat08 https://github.com/Blockrazor/blockrazor/issues/1352#issuecomment-385385425 is closed, I'm confused. Is it solved?
Yes it was solved before I opened this issue, using async and imports fixed it instead of waitOn hook.
Feel free to reopen it in case if the issue is still persists on your end.
the navigation error wasn't about the waitOn hook, but the rest of it is a bug though. I imagine if you just await import it won't eagerly load rest of the bundle on window load?
or rather making the imports part of the initialization step.
@janat08 thank you for coming back with it.
I'll not look for reproduction, since judging by how the app doesn't begin loading pages/templates between navigations I suppose using async/await is okay.
It's possible that we were depending on SASS variables defined by a theme that was dynamically imported under different file/route or something, so indeed this may not be so much a bug.
@janat08 Dynamically importing styles might be tricky.
But you should be good as long as you importing .js
file dynamically, where .sass
imported statically.
flow-router-extra
you're experiencing this issue current latest (the one that implemented fast render)Meteor
you're experiencing this issue 1.6.0