ClojureScript (cljs) - leotm/react-native-template-new-architecture GitHub Wiki
- Redux - inspired by re-frame
- JSX - inspired by hiccup
- more
- ClojureScript + React Native
- Writing Mobile apps in ClojureScript
- Developing mobile digital key applications with ClojureScript
- why
- complex logic
- REPL workflow
- Clojure on BE (e.g. bank JVM)
- break from JS
- why not
- extra tooling/build-step
- gotta mess w tools
- functional
- dynamic
- REPL driven dev
- change code w/o re-compiling
- powerful debugging/inspection
- hosted
- run on host platform
- runtimes: JVM, JS VMs (google clojure compiler, V8, etc), CLR (windows)
- SCI interpreter
- libs: Lua, Julia, etc
- design
- small ez core
- Lisp
- immutable
- still can mutate
- interop
- ez change raw js data structures w/o deps, but they help
- cljs: import js, use exports;
- js: use cljs vars
- slow changes
more pragmatic than Haskell for RN
Examples
- https://github.com/status-im/status-react
- https://github.com/flexsurfer/conduitrn
- https://github.com/areina/elfeed-cljsrn
- https://github.com/flexsurfer/rn-shadow-steroid
- https://github.com/thheller/reagent-react-native
- https://github.com/flexsurfer/ClojureRNProject
- https://github.com/aiba/helix-react-native
- https://github.com/aiba/helix-react-native-nav