
Qwik has just the right amount of magic
JS Party: JavaScript, CSS, Web Development
00:00
The Magic of the Optimizer and the Runtime
The bundler has so much more power because it has many more choices available to it. It's all about making those choices in a way that isn't expensive for the developer, right? And I put that cost the burden on the developer. The simplest thing we could come up with is basically a function called that ends in a dollar sign. That's the magic,. That's the thing that says lazy load this thing. Now just because it's lazy load, it doesn't mean actually will cause lazy loading in runtime. It just means it's a potential place where lazy loading can happen. Every time you see a dollar sign, you understand that the closure that follows is going to be invoked
Transcript
Play full episode