News for hackers. Stuff that matters.
Re:Preact : a smaller, faster React alternative by krirken on Monday August 21, 2017 @05:23PM (#15067974)
Some key points:

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.