Created
March 26, 2018 20:15
-
-
Save dazld/e85ad7a596c37aaedc40983bde5dc2e4 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
➜ ios re-natal init foo | |
Creating foo | |
☕ Grab a coffee! I will use yarn, but fetching deps still takes time... | |
Creating Leiningen project | |
Updating Leiningen project | |
Creating React Native skeleton. | |
Creating Re-Natal config | |
Compiling ClojureScript | |
To get started with your new app, first cd into its directory: | |
cd foo | |
Run iOS app: | |
react-native run-ios > /dev/null | |
To use figwheel type: | |
re-natal use-figwheel | |
lein figwheel ios | |
Reload the app in simulator (⌘ + R) | |
At the REPL prompt type this: | |
(in-ns 'foo.ios.core) | |
Changes you make via the REPL or by changing your .cljs files should appear live. | |
Try this command as an example: | |
(dispatch [:set-greeting "Hello Native World!"]) | |
✔ Done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment