Skip to content

[0.82] Allow for non recycled components to be deallocated #1140

@cipolleschi

Description

@cipolleschi

Target Branch

0.82

Link to commit or PR to be picked

facebook/react-native@dc4a6d2

Description

React Native Screens is facing issues with some native custom components that have opted out from view recycling.
Without this change, React Native does not notify the components when they are removed from the hierarchy and therefore they can't deallocate resources appropriately.

This can cause memory leaks and slow downs apps.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type Pick RequestPick requests to include commits inside a React Native release

    Type

    No type

    Projects

    Status

    Done / Picked

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions