DEV Community

Discussion on: Meteor browser bundle and Node-Stubs - beware what you import

Collapse
 
mullojo profile image
Bob

Great job on this article @jankapunkt !! This is a really helpful reference for the Meteor community! I'm using your ServiceWorker and really appreciated the ease of turning my app into a PWA with it 😀

I've not tried dynamic imports yet, but they look really useful for large dependencies on the client that could load at a later time. I didn't know about them and I will make use of them soon.

I've been thoughtful about my client side imports, but I think I could do a lot more to reduce their size soon.

Thanks for being such a clear thinker & tester, you're adding A LOT of value to the Meteor community! 🎉

Collapse
 
jankapunkt profile image
Jan Küster

Hey @mullojo thanks a lot for the response. I am very grateful to hear my contributions to be of value to others! Regarding dynamic import: our use case is to have a very rich client UI with lots of pages and features and at the same time clients may have an unstable or low connection. If you want to keep a great performance in terms of loading times then dynamic import is a must. Once you get into the design logic for dynamically loaded pages and content then it will become a no-brainer.
If you have any questions about dynamic import that could be worth to become an article please let me know ;-)