Modern Web cover image

Building the TanStack with Tanner Linsley

Modern Web

00:00

How to Create a New Virtual File for VIT

When you build and compile, it's going to say whatever's inside of this split function, we're going to extract it out and put it into a new virtual file. And if there were any other dependencies or imports you were relying on, it would also include those and bring them over into the other file as well. So that's the idea behind it. You know, it never occurred to me that the sort of ceremonial dance where I pull, where I create that new component, and then dynamically, lazily import that stuff, and then come back and do is not done by the compiler. There's no signal, there's no flag, there’s no marker, there

Transcript
Play full episode

Remember Everything You Learn from Podcasts

Save insights instantly, chat with episodes, and build lasting knowledge - all powered by AI.
App store bannerPlay store banner