3 ms·
I would like to suggest using Knockout for this sort of thing instead. And as I side benefit you get can get reactive observable and a rich HTML binding syntax.
by Guthur 12y ago
I would like to suggest using Knockout for this sort of thing instead. And as I side benefit you get can get reactive observable and a rich HTML binding syntax.
We do this sort of conditional rendering with KO in our application and it works great.
It's quite a mature and focused library.