March 2019
Intermediate to advanced
350 pages
7h 28m
English
One thing we should keep in mind when we use stateless functional components is that, even if Facebook developers say that in the future they would be able to provide performance optimizations for components without a state, at the time of writing, they perform a little bit less well.
The shouldComponentUpdate function does not exist, and there is not a way to tell React that a functional component should not be rendered if the props (or a particular prop) are not changed.
This is not a big issue, but it is something to consider.
Read now
Unlock full access