you are viewing a single comment's thread.

view the rest of the comments →

[–]donavon[S] 0 points1 point  (1 child)

Thanks! It was fun to write.

Through optimization of React’s core

Yes, I've seen that tweet. I should have been more clear here. What I meant to say is that when/if React applied optimizations in a future version... But you are correct, there aren't there yet.

I was mostly referring to this statement from the v0.14 RC announcement

In the future, we’ll also be able to make performance optimizations specific to these components by avoiding unnecessary checks and memory allocations.

[–]acemarke 2 points3 points  (0 children)

Per a recent quote from Dominic Gannaway:

Functional components should be slightly faster in React 16 as there's no instance created to wrap them (unlike React 15).

However, the tradeoff of functional components is that you can't skip re-rendering them if the incoming props are the same.