Skip to content

Perfomance: unnecessary rerendering #63

@vanya2h

Description

@vanya2h

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:

2018-12-21 13 41 16

(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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions