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?
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?
Here are some notes on our setup. Perhaps it's helpful... https://condense.atlassian.net/wiki/spaces/IZ/pages/560974/Navigating+between+screens
> Error: The component for route 'Home' must be a React component.
you are passing a react-element not a component
might work if you change (def H ...
to (defn H [] ...
?
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