Open
Description
There is a style object that gets freshly created on the fly on every render. This makes the wrapped component also render every time again, because the object identity changes.
The solution would be to “cache” the style object in the component and only recompute it if necessary. (E.g. by means of componentWillReceiveProps
or the like.)
Metadata
Metadata
Assignees
Labels
No labels