That ensures each div gets its own, unique instance (and ReactiveVar). Clearly, you’d probably use a loop contruct to generate the inclusions dynamically, as well.
Sorry, but this did not work. It has the same error that pretty much all of the other tutorials and examples have: Cannot read property 'get' of undefined
In particular, it’s this line instance.liveClasses.get(). Even though we’re adding the liveClasses property during the onCreated() event, it’s not actually adding it or something.
Other examples I’ve seen use reactiveDict instead but the error is the exact same.