DEV Community

Discussion on: Thinking about going with PreactJs for dev.to

Collapse
 
balajmarius profile image
Balaj Marius

You may want to check Inferno too, it is faster than Preact.

Collapse
 
ben profile image
Ben Halpern

Cool, I'll check it out. Thanks.

Collapse
 
nickytonline profile image
Nick Taylor • Edited

Inferno is all about performance. FB took notice so much, that the React team hired the creator of Inferno. I believe the bundle is smaller than React, but I think in terms of bundle size, Preact comes on top. the API is a drop in replacement for React 15, but for Fiber (React 16), as far as I know they are not compatible in some respects, e.g. Portals, Fragments. See github.com/developit/preact-compat....

If you're going to use it for follow buttons etc., I think it's a great choice.