react-composer
react-composer copied to clipboard
Perfomance: unnecessary rerendering
Hi. First of all thanks for your work!
But here's i investigate some perfomance issues. I'm currently using why-did-you-render
lib and have some interesting warnings:
(another 3 warns is the same)
I believe react-composer
changing component's children more than 1 time so it's produces some unnecessary rendering. Here I have 4 rerenders due to props.children
!== prevProps.children
Thanks.
Hi @kv9991 , I don't have a whole lot of experience with why-did-you-render
, so I can't speak much to this. If you have ideas for perf improvements, feel free to suggest them!