O'Reilly logo

Meteor Cookbook by Isaac Strack

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Using inline data to modify UI elements reactively

Typically, when elements in an HTML page are rendered, then that rendering isn't directly linked to any of the data used to create them, for example, if we have an array of objects, we may generate some HTML by iterating over the array and adding <div> elements for each object in the array. Unless we do something to manually link them to the array of objects, these newly created elements aren't associated with the data that created them in any way. This leads to all kinds of development shenanigans, as developers try to shoehorn in associative data, which is used in events and other downstream functions. Long story short, using only existing web technologies, it's difficult to keep all of the ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required