Skip to content

[Deep Import will be deprecated] #878

@321paranoiawhy

Description

@321paranoiawhy

Description

import codegenNativeComponent from 'react-native/Libraries/Utilities/codegenNativeComponent';

should be:

import { codegenNativeComponent } from 'react-native';

otherwise devtools would print deep import will be depreacted

Packages

  • create-react-native-library
  • react-native-builder-bob

Selected options

None

Link to repro

None

Environment

None

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions