Notes from Clojure/conj 2019 unsessionon CLJS+ReactNative
I surveyed the ways to do this, and it looks like the main choice we are faced with is whether to use figwheel or shadow-cljs for handling the compliation and the REPL.
Both of these setups, in theory, support all the above bullets. They each also have good templates for getting started. Here are my recommended starting points:
I've tried both, and I'm still not sure which I prefer.
Quirks/Issues:
@react-native-community/async-storage
andreact-native-elements
) requires extra cljsExports
hacks in index.js
. Iindex.js
for the figwheel-bridge.$ brew install node
$ brew install watchman
$ sudo gem install cocoapods
$ npx react-native init AwesomeProject
$ mv AwesomeProject react-native
clj-refactor
cljr-clean-ns
does not currently support the quoted require