If you have a code splitting-headache, S4E3 of DevDiscuss might help
S4:E3 - Code Splitting and the Long List of Things You Need to Know About Writing JavaScript
DevDiscuss
In this week's DevDiscuss, I was joined by special guest co-host Katie Davis, a front end developer who has previously worked at Shopify and League Inc. Katie and I tackled the topic of code splitting and the long list of things you need to know about writing JavaScript with Laurie Barth, staff software engineer at Gatsby and instructor at egghead.io.
Laurie authored an amazing intro to code splitting here on DEV in January. I highly recommend checking it out as a supplement to this episode:
Excerpt:
"According to MDN, 'Code splitting is the splitting of code into various bundles or components which can then be loaded on-demand or in parallel.'
In other words, when you have different chunks of code you can make choices about how you load them. When you only have one big one, your hands are tied."
I hope you learn a lot from this episode. I know I did 📚
You can follow DevDiscuss to get episode notifications and listen right in your feed — or subscribe on your platform of choice! Plus, if you leave us a review, we'll send you a free pack of thank-you stickers. Details here.
Quick Listening Links
Acknowledgements
- @levisharpe for producing & mixing the show
- Our season four sponsors: DataStax, New Relic, Educative, and Ambassador Labs!
Top comments (3)
I LOVE THIS! I'm such a huge fan of Dev, DevDiscuss and of Laurie that I can't wait to listen to this episode!
That’s so kind!
JavaScript is too huge for a beginner to jump into, and working with typescript is (imho) a better experience than direct javascript (especially catching errors at compile time). I wonder why more people dont use languages like Elm (I guess its syntax isnt the best) but maybe create even more languages that compile down to JS (or better, webassembly)