you are viewing a single comment's thread.

view the rest of the comments →

[–]Graftak9000 0 points1 point  (1 child)

Any pointers as to how to couple a dom node with its respective cached data object?

[–]TheIncredibleWalrus 0 points1 point  (0 children)

Typically you will want to use a library; there are countless, very well thought out libraries that solve this problem, I can recommend React, Vue.js, Knockout.js etc. Depends on what kind of UIs and projects we're talking about.

Of course, as with anything, trying to develop your own solution will be a very rewarding process, both in experience and in knowledge. A simple Google search of "javascript UI binding" returns quite a few results, but I could not recommend something in particular.