Skip to content
This repository was archived by the owner on Nov 16, 2022. It is now read-only.
This repository was archived by the owner on Nov 16, 2022. It is now read-only.

Redefinition of the EventEmitters #1

@troZee

Description

@troZee

Original issue: troZee/react-native-cpp-autolinking#2

I followed this example with an interfaceOnly component and ended up with a redefinition of EventEmitters error.

The solution that worked for me came from react native screens. They managed to reuse the codegen'ed types without copying them locally. This avoids the redefinition error and is easier to maintain.

I think you should update this repo to use the react native screens solution.

cc @grahammendick

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions