haxe-react / react-native

React Native externs for Haxe
61 stars 9 forks source link

Generated code is unable to run #17

Closed serjek closed 6 years ago

serjek commented 6 years ago

Hello, there is a problem with generated code:

Invariant Violation: Element type is invalid: expected a string (for built-in components) or a class/function but got: object. I think this is because of some recent react native updates.

Here are my dependencies:

"react": "16.3.1",
"react-native": "0.55.3"
serjek commented 6 years ago

fixed by compiling into correct js. things got messy because sample project output differs from this example output. now that figured this out, code is working. sorry about that!