Skip to content

[0.87] Fix Attempted to import the module "...ReactNativeFeatureFlags in apps using virtualized-lists #1423

Description

@robhogan

Target Branch

0.87

Link to commit or PR to be picked

react/react-native#57484

Description

Fixes a warning in Metro during bundling on every app that renders a virtualized list (FlatList, SectionList, etc.) - react/react-native#57933:

Attempted to import the module ".../node_modules/react-native/src/private/featureflags/ReactNativeFeatureFlags" which is not listed in the "exports" of ".../node_modules/react-native" under the requested subpath "./src/private/featureflags/ReactNativeFeatureFlags". Falling back to file-based resolution.

This has appeared since react/react-native#57484, which was picked into 0.87 during RC.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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