Fork me on GitHub
#figwheel-main
<
2021-09-01
>
kennytilton08:09:17

fig:main port from shadow-cljs is going great, but I am in the middle of trying to figure sth out and thought I would drop in and see if anyone Just Knows(tm) how to handle bizarro NPM requires like

["@react-navigation/native" :refer [NavigationContainer]]
. I tried a few things but no luck so far, and not the easiest thing in the world to google. Thx! 🙏

kennytilton08:09:17

Hang on. I checked react-navigation's doc. Do I just require the individual bits?

npm install react-native-reanimated react-native-gesture-handler react-native-screens react-native-safe-area-context @react-native-community/masked-view
, I guess recusively going after stuff like masked-view?

kennytilton08:09:17

Hang on. I checked react-navigation's doc. Do I just require the individual bits?

npm install react-native-reanimated react-native-gesture-handler react-native-screens react-native-safe-area-context @react-native-community/masked-view
, I guess recusively going after stuff like masked-view?

kennytilton15:09:39

OK, it seems the dependencies specified in the instructions point to a CLJS before the latest work to support a Clojure change.

{:deps {org.clojure/clojurescript {:mvn/version "1.10.773"}
        com.bhauman/figwheel-main {:mvn/version "0.2.14"}}
 :paths ["src" "target"]}
Following https://clojurescript.org/news/2021-04-06-release, I switched to 1.10.844 and all is well.

👍 4