2 ms·
If you want something which is even smaller and simpler, there's snabbdom[0]. The core vdom implementation is 200 SLOC, everything else is provided via modules,
by masklinn 9y ago
If you want something which is even smaller and simpler, there's snabbdom[0]. The core vdom implementation is 200 SLOC, everything else is provided via modules, either first-party (toggled classes, event listeners, thunks, hyperscript, …) or third-party (jsx, template strings, …)
[0] https://github.com/snabbdom/snabbdom https://github.com/snabbdom/snabbdom