JS Party: JavaScript, CSS, Web Development cover image

This is going to be Lit 🔥

JS Party: JavaScript, CSS, Web Development

00:00

How to Manage Dynamic HTML References

There's a lot less dynamism in templates than you might think or that a lot of systems are kind of built to expect, right? Like if your template literal has five expressions, it will always have five expressions. We just keep an array of like every time we get new values, we're going to get an array of five and we have this array of five kind of pointers into the DOM. So we just run through the array keeps it very simple and fast.

Play episode from 14:32
Transcript

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