Every story and comment from the Hacker News API, in a layout borrowed from 2001.
A comment on Preact : a smaller, faster React alternative. Parent comment
1. Preact eliminated white/black lists and uses regexes instead [1]. These lists take up huge amounts of space in React/ReactDOM [2].
2. No synthetic events, just native `addEventListener` [3].
3. Only target the DOM for rendering, no React Native to worry about.
4. Less invariants, error handling, and error messages
[1] https://github.com/developit/preact/blob/master/src/constant...
[2] https://github.com/facebook/react/blob/master/src/renderers/...
[3] https://github.com/developit/preact/blob/master/src/dom/inde...
There are no comments on this comment yet.
1. Preact eliminated white/black lists and uses regexes instead [1]. These lists take up huge amounts of space in React/ReactDOM [2].
2. No synthetic events, just native `addEventListener` [3].
3. Only target the DOM for rendering, no React Native to worry about.
4. Less invariants, error handling, and error messages
[1] https://github.com/developit/preact/blob/master/src/constant...
[2] https://github.com/facebook/react/blob/master/src/renderers/...
[3] https://github.com/developit/preact/blob/master/src/dom/inde...