JavaScript Jabber cover image

Virtual DOM and the React Way, Part 1 - JSJ 512

JavaScript Jabber

00:00

Using Direct Do Manipulation in a Request Animation Frame

Instead of constructing actual dum elements, we'll simply construct light weight, simple jabscript elements. Instead of returning a dom element, we return the root object of the tree of job script objects that we just constructed. But you then might ask, while it's really great that you created this a jason which represents the actual dome, but still needs to be converted into the actual dome in order to actually do anything. It's up to what the library that you're using,. to react, to take this tree of objects and actually just convert it into an actual tom That exactly matches in terms of content the the trees that you handed over to it. Theoretically, you would have

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