3 ms·
Snabbdom[0] might be a better one there, it's not quite 33 lines (the core is about 200), but it is intended to be usable and used in production systems, either
by masklinn 7y ago
Snabbdom[0] might be a better one there, it's not quite 33 lines (the core is about 200), but it is intended to be usable and used in production systems, either on its own or underlying a components system or whatnot.
[0] https://github.com/snabbdom/snabbdom https://github.com/snabbdom/snabbdom
- robin_reala 7y ago(sidenote: “snabb” is Swedish for “fast”)
- kitten_mittens_ 7y agoIs it related to https://www.etymonline.com/word/snap#etymonline_v_23756 https://www.etymonline.com/word/snap#etymonline_v_23756?
- Sharlin 7y agoSeems to be, via the verb snappa which is the Swedish version of the Germanic snappen.
- urvader 7y agoI made a similar implementation as the article describes in 60 LOC which also includes a lite versions redux and hooks. (Uses Snabbdom for diff and update of real dom) https://github.com/irony/pureact https://github.com/irony/pureact Demo: https://mandatkollen.se https://mandatkollen.se which is built in Pureact.