GoogleChromeLabs / webpack-libs-optimizations

Using a library in your webpack project? Here’s how to optimize it
Apache License 2.0
3.37k stars 111 forks source link

Should we mention Inferno/Nervjs? #8

Closed kurtextrem closed 6 years ago

kurtextrem commented 6 years ago

While Preact and Inferno have a slightly more complicated migration from React (because of incompatibilities, you have to install additional libraries for the transition groups etc), Nervjs does not. Also, Inferno is much faster than Preact, while being also larger. But migration is even harder in my experience.

NervJS migration is painless and it seems to be overall faster than React and Preact and in some cases faster than Inferno. See here for more details: https://github.com/NervJS/nerv/issues/10

iamakulov commented 6 years ago

That’s a great idea!

I think we can turn our “Migrate to Preact” section into something like “Migrate to an alternative” – and list these libraries there linking to their tradeoffs.

Want to make a PR? :–)

kurtextrem commented 6 years ago

Want to make a PR? :–)

Yup, I'll do it soon :)

kurtextrem commented 6 years ago

Sorry for taking so long!

iamakulov commented 6 years ago

No problem :–)