Skip to content

[0.78] Allow multiple RN instances to run at the same time with the same feature flags #794

@cipolleschi

Description

@cipolleschi

Target Branch(es)

0.78

Link to commit or PR to be picked

facebook/react-native@444c7d4

Description

There are use cases where users might want multiple React Native instance running at the same time in their app. Expo, for example, needs multiple instances in Expo Go and with their dev client.

Without this fix, this is not possible, because the app will crash trying to override the feature flags a second time. However, we know that overriding the feature flags with the same values is same and it should be allowed.

This fix allow users to spawn multiple React Native instances with the same feature flags.

Metadata

Metadata

Assignees

No one assigned

    Labels

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

    Type

    No type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions