Re:Show HN: Sentinel.JS - The simplest alternative to angula...
by skrebbel on Monday July 07, 2014 @05:07AM
(#7997820)
Indeed. I don't believe the GP implied that the data-* had to be user data to count. In fact, the way data-bind is used in Knockout isn't really user data either. You'd store that on the view model, not in a data-* attribute.
As a matter of fact, storing user data in data-* attributes is unnecessary in React. Just like graphics programming, you're better off storing vertices data in the data structures themselves, not in the final onscreen output of the vertices.