cljsrn

https://github.com/drapanjanas/re-natal | https://github.com/drapanjanas/re-natal/wiki/FAQ | https://github.com/condense/mercury-app/wiki | https://github.com/seantempesta/expo-cljs-template/ https://www.npmjs.com/package/create-expo-cljs-app
7tupel 2020-01-10T10:37:08.002Z

Hi, I'm playing arounf with rn and cljs. Unfortunately i cant get the rn navigator working- I already opened a stackoverflow question (https://stackoverflow.com/questions/59636093/clojurescript-and-react-native-navigator-problem), no success yet. Maybe some can help and point me in the right direction?

Eric Ihli 2020-01-14T12:35:07.010900Z

I was thinking the same thing as thheller, that it has something to do with sending the navigator an element rather than a component. If you've verified that though, have you tried running it with debug enabled and with pause on caught exceptions in devtools to try to get a more useful stack trace or error message?

Oliver George 2020-01-15T09:26:40.019100Z

Here are some notes on our setup. Perhaps it's helpful... https://condense.atlassian.net/wiki/spaces/IZ/pages/560974/Navigating+between+screens

thheller 2020-01-10T10:47:26.002300Z

> Error: The component for route 'Home' must be a React component.

thheller 2020-01-10T10:47:39.002600Z

you are passing a react-element not a component

thheller 2020-01-10T10:48:15.003Z

might work if you change (def H ... to (defn H [] ...?

7tupel 2020-01-10T11:20:07.004900Z

my bad. but still not working after wrapping it with rum's defc macro like (defc H [] ...) The error message stays the same. Using a simple (defn ... like you suggested doesn't work either