How do you guys structure Data and Templates?


#1

Currently, I’m mostly using patterns of Template.dynamic() to use data contexts intuitionally for each template’s helpers, and to structure templates as hierachy.

But yesterday I read the “No More Data Context” in “Proposal for Blaze2”.

Is there possibility that “data context” deprecated in Blaze2 as mentioned ?

Or I understood wrong ? (there is possibility that I misunderstood about the topic, because I’m not living in English-speaking world, )

and, How do you guys structure Data and Templates ?


#2

The closest thing to an application framework in my app is IronRouter, which I use to organize my templates and subscriptions.