2 ms·
It watches the DOM for you, since that's where state is, but every other thing watches the JS for you, because that's where the state is. I don't see the advant
by nailer 9y ago
It watches the DOM for you, since that's where state is, but every other thing watches the JS for you, because that's where the state is. I don't see the advantage.
- simplify 9y agoIf you watch the DOM then it might be more compatible with things like jQuery plugins, which operate directly on the DOM instead of your JS object in memory somewhere.