Created
September 9, 2018 17:06
-
-
Save mfikes/059cfee98d9adba036758c2064d047ce to your computer and use it in GitHub Desktop.
This file contains 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
$ re-natal init FutureApp | |
Creating FutureApp | |
☕ Grab a coffee! Downloading deps might take a while... | |
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 future-app | |
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 'future-app.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 | |
orion:Desktop$ cd future-app/ | |
orion:future-app$ react-native run-ios > /dev/null | |
The following commands produced analyzer issues: | |
Analyze Base/RCTModuleMethod.mm normal x86_64 | |
(1 command with analyzer issues) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment