Redefinition of the EventEmitters
troZee opened this issue · 0 comments
troZee commented
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.