https://github.com/olical/cljs-react-example
A simple example of loading React into ClojureScript from node_modules (yarn)
https://github.com/olical/cljs-react-example
Last synced: 10 months ago
JSON representation
A simple example of loading React into ClojureScript from node_modules (yarn)
- Host: GitHub
- URL: https://github.com/olical/cljs-react-example
- Owner: Olical
- Created: 2017-07-29T13:34:35.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2017-07-29T13:57:12.000Z (over 8 years ago)
- Last Synced: 2025-01-05T02:10:43.697Z (12 months ago)
- Language: Clojure
- Size: 10.7 KB
- Stars: 2
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# cljs-react
Simple example of using React from ClojureScript directly. Using the new `node_modules` integration found in version `1.9.854`.
## Usage
* Run `yarn` to fetch the `node_modules`.
* Run `server.sh` to launch a Python 3 web server which hosts the HTML at `http://localhost:8000`, obviously you can serve it any way you see fit.
* Run `lein figwheel` to start the build server and enable hot code reloading.
## To do
* [x] Get spacemacs hooked in to the figwheel REPL. ([solution](https://github.com/bhauman/lein-figwheel/wiki/Using-the-Figwheel-REPL-within-NRepl))
* [ ] Remove dependency on manually running yarn/npm if possible.
* [ ] Configure for production and development as if this was a real project.