JavaScript Jabber cover image

SolidJS with Ryan Carniato - JSJ 528

JavaScript Jabber

00:00

The Role of Effects in a Compiled Code Model

The render function for a component or whatever you choose to call it, kind of serves two purposes. It's simultaneously the thing that provides the initial tree that describes the DOM node that you construct and bind to. And it's also kind of a one big use effect function in a sense that gets triggered or parts of it get triggered when they need to. Is that a correct explanation? Yeah, I mean, it's so much easier when we're looking at the compiled code, but the whole thing is- Isn't it always? Easier way to look at the code.

Transcript
Play full episode

The AI-powered Podcast Player

Save insights by tapping your headphones, chat with episodes, discover the best highlights - and more!
App store bannerPlay store banner
Get the app