Make Shadow-CLJS-based hot reloading work with React Native Navigation.
- Hot Reloading works.
- React Native Navigation does not work (pressing button "press me" crashes app).
The wrapper reload-wrapper
in app.cljs
is given a componentId
prop by
React Native Navigation when it is registered (.registerComponent Navigation ...
).
This componentId prop must be passed on to the wrapped component for
React Native Navigation to work.
- Watch & build ClojureScript source files:
yarn build:dev
- Run tests:
yarn test
- Run iOS version on simulator:
yarn ios
(also starts metro bundler) - Run metro-bundler manually if desired:
yarn start