2min chapter

Modern Web cover image

Building the TanStack with Tanner Linsley

Modern Web

CHAPTER

Bling Module Bundle Splitting

module bundle splitting is possible in the same file under the same mechanics. So instead of creating a server function that we rip it out on the client, but we leave it on the server, in this case, split would just rip it out into a new virtual module and return an asynchronous import to that virtual module inside of the code that we had it. For you. Instead of us writing that breakout file, it takes the sort of boilerplate dance that is like, OK, lazy dynamically import this. And then you can actually do your react lazy import right here. Then you need to wrap it. You can just do lazy like that. Something like that.

00:00

Get the Snipd
podcast app

Unlock the knowledge in podcasts with the podcast player of the future.
App store bannerPlay store banner

AI-powered
podcast player

Listen to all your favourite podcasts with AI-powered features

Discover
highlights

Listen to the best highlights from the podcasts you love and dive into the full episode

Save any
moment

Hear something you like? Tap your headphones to save it with AI-generated key takeaways

Share
& Export

Send highlights to Twitter, WhatsApp or export them to Notion, Readwise & more

AI-powered
podcast player

Listen to all your favourite podcasts with AI-powered features

Discover
highlights

Listen to the best highlights from the podcasts you love and dive into the full episode