Skip to content
master
Switch branches/tags
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
ios
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

shadow-cljs-react-native

Demo app showing how to use shadow-cljs to target React Native.

Development

# first run : install the dependencies
$ yarn deps

# start watcher
$ yarn app:watch

# wait for compilation to finish
$ yarn app:android
# or
$ yarn app:ios

# open the project in the simulator

REPL

M-x cider-connect

(shadow.cljs.devtools.api/nrepl-select :app)

Simulator

General

Disable Live Reloading and Hot Reloading in the simulator. Shadow-cljs included it's own {:dev/after-load true} mechanism for live-reloading, which will preserve app state (for example if you are using re-frame).

Android

yarn app:android

iOS on MacOS

Open XCode IOS simulator folowed by:

yarn app:ios

iOS on Linux

Please read an accompanying blog post: https://www.blog.nodrama.io/react-native-xcode-linux/

About

Using shadow-cljs with react-native (vanilla)

Resources

Releases

No releases published

Packages

No packages published