troZee / react-native-cpp-autolinking

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Redefinition of the EventEmitters

grahammendick opened this issue · comments

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.