Skip to content

Persistent props multiple times changed befor animation frame #43

Description

@jakuub

When persistent props used in component and component have optimized shouldUpdate method to change only on change of props, there become a problem, if props are changed multiple times in one animation frame and last change is not really change, only replacement by the same props.

In this case, there are the same props in _oldProps and component.props also in the case, if during last render was props different. This can cause that the component will not be updated nevertheless it has new props different from props on last render.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions