Quick City has two methods. We call loaders and actions. You can think of the loader as getting data to the client, and you can think of action as getting data from the client to the server. And these loaders are kicked off immediately as soon as the request comes in. These loaders can return either a promise or a function that returns the promise. If they return a promise directly, then we will make sure we will wait for the data to be resolved before we start rendering your application. But if we return a function that is a promise, then we know that like, oh, we can start rendering the application even before that promise is resolved. Now we can have out
In this supper club episode of Syntax, Wes and Scott talk with Miško Hevery about why developers should check out Qwik, the benefits of lazy loading, sharing state between components, and other Builder.io projects like Partytown and Mitosis.
Show Notes
××× SIIIIICK ××× PIIIICKS ×××
Shameless Plugs
Tweet us your tasty treats