Fork me on GitHub
#cljsrn
<
2019-01-30
>
ferossgp12:01:24

I have a problem with advanced build, Objects are not valid as a React child. I've inspected the path through source map and found out that the actual return is calling function which is create-react-class default method. Everything looks good, and works on dev version. Also seems like create-react-class was loaded correctly. I'm using npm-deps. Has some one found the same problem?

neiro12:01:39

Have you tried this https://github.com/drapanjanas/re-natal/wiki/FAQ#objects-are-not-valid-as-a-react-child ? Also it seems like I have a problem with create-react-class package too. It has been removed from re-agent recently though: https://github.com/reagent-project/reagent/pull/416/files .

ferossgp13:01:16

Yes, the actual fault is in the component that is in reactify-component in app init. I've tried a simple view to not have the tree.

neiro12:01:49

Hi I'm stuck at making production build of Android app using re-natal. I've been able to compile it and run prod APK on emulator but it keeps closing with the next errors:

01-30 15:10:09.214 12732 12754 E ReactNativeJS: undefined is not a valid argument for 'in' (evaluating '"StopIteration"in goog.global')
01-30 15:10:09.217 12732 12754 E ReactNativeJS: Module AppRegistry is not a registered callable module (calling runApplication)
I've found a similar problem - https://github.com/drapanjanas/re-natal/issues/208 - but removing ignores my .babelrc doesn't help at all:
01-29 16:24:00.167 17463 17483 I ReactNativeJS: Running application "AttendanceApp" with appParams: {"rootTag":1}. __DEV__ === false, development-level warning are OFF, performance optimizations are ON
01-29 16:24:00.168 17463 17483 E ReactNativeJS: undefined is not an object (evaluating 'this.__reactAutoBindPairs')
01-29 16:24:00.372 17463 17463 D ReactNative: ReactInstanceManager.detachViewFromInstance()
Does anyone experienced the same or similar issue? I would be thankful for any help.

mfikes20:01:16

FWIW, it's not just you. I experienced the same. No solution for me other than reverting back to older version.

👍 5
rboyd16:01:31

anyone got emacs snippet for sending (start-figwheel "ios") to cider-repl buffer?