What does HackerNews think of preact?

⚛️ Fast 3kB React alternative with the same modern API. Components & Virtual DOM.

Language: JavaScript

#17 in React
We built Druthers to make democratic decisions as a team.

It derives results through a ranked-choice voting algorithm that I encourage you to try and game! And, importantly, it is almost no fun whatsoever to use this app without another person, preferably live over the (video) phone or in-person.

Druthers' first incarnation was built with Rails and JQuery on a team of four. The second on Firebase, solo. This one passes CRDTs over WebRTC because, of course, and we pair-programmed it.

It's is an exercise in moderate minimalism. Smallish build toolchain, fewish dependencies, unambitious UX.

We built it with preact[0], snowpack[1], and taste[2].

0. https://github.com/preactjs/preact

1. https://github.com/FredKSchott/snowpack

2. https://github.com/benchristel/taste

preact is much simpler than react (~3KB), and whats weird, it's also faster

BTW: code is very easy to read/follow https://github.com/preactjs/preact/

Preact is React without the fluff - https://github.com/preactjs/preact

loc in a node project is hard to judge due to packages and the aforementioned mono repo difference, but the preact functional build artefact is an order of magnitude smaller: 129KiB v 8.2KiB

I am curious if it would be possible to get the React core team to focus their efforts on react implementation that is not under FB influence like Preact (https://github.com/preactjs/preact)