Skip to content

A simple example of loading React into ClojureScript from node_modules (yarn)

Notifications You must be signed in to change notification settings

Olical/cljs-react-example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

  • Get spacemacs hooked in to the figwheel REPL. (solution)
  • Remove dependency on manually running yarn/npm if possible.
  • Configure for production and development as if this was a real project.

About

A simple example of loading React into ClojureScript from node_modules (yarn)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published