fabric-library-with-custom-cpp-example
fabric-library-with-custom-cpp-example copied to clipboard
Redefinition of the EventEmitters
Original issue: https://github.com/troZee/react-native-cpp-autolinking/issues/2
I followed this example with an
interfaceOnlycomponent 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