Comment Comment by DEADB17 Most of the complexity comes from state management and tracking data dependencies, not dom manipulation.If you like keeping things light this library gives you a lot of bang for the buck:https://github.com/MaiaVictor/PureStateIt's similar to how pub/sub works but it does the topological sort that prevents data with diamond shaped dependencies from being triggered twice, in less than 500bytes minified (before zipping). parent DEADB17 6 years ago
If you like keeping things light this library gives you a lot of bang for the buck:
https://github.com/MaiaVictor/PureState
It's similar to how pub/sub works but it does the topological sort that prevents data with diamond shaped dependencies from being triggered twice, in less than 500bytes minified (before zipping).