Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

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



I 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

Demo: https://mandatkollen.se which is built in Pureact.


(sidenote: “snabb” is Swedish for “fast”)



Seems to be, via the verb snappa which is the Swedish version of the Germanic snappen.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: