Skip to content

Commit

Permalink
Update React to 16.3.0-1
Browse files Browse the repository at this point in the history
  • Loading branch information
r0man committed Apr 19, 2018
1 parent ab2c441 commit 87ff1c7
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions README.org
Original file line number Diff line number Diff line change
Expand Up @@ -16,16 +16,16 @@
provide the dependencies yourself like this:

#+BEGIN_SRC clojure :exports code :results silent
[cljsjs/react "16.3.0-0"]
[cljsjs/react-dom "16.3.0-0"]
[cljsjs/react "16.3.0-1"]
[cljsjs/react-dom "16.3.0-1"]
#+END_SRC

If you want to do server rendering and use the =render= or
=render-static= functions from the =sablono.server= namespace you
need to add the following dependency as well:

#+BEGIN_SRC clojure :exports code :results silent
[cljsjs/react-dom-server "16.3.0-0"]
[cljsjs/react-dom-server "16.3.0-1"]
#+END_SRC

** Usage
Expand Down
6 changes: 3 additions & 3 deletions project.clj
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,9 @@
[perforate "0.3.4"]]
:resource-paths ["test-resources" "target"]}
:provided {:dependencies [[cljsjs/create-react-class "15.6.2-0"]
[cljsjs/react "16.3.0-0"]
[cljsjs/react-dom "16.3.0-0"]
[cljsjs/react-dom-server "16.3.0-0"]
[cljsjs/react "16.3.0-1"]
[cljsjs/react-dom "16.3.0-1"]
[cljsjs/react-dom-server "16.3.0-1"]
[org.clojure/clojurescript "1.10.238"]]}
:repl {:dependencies [[com.cemerick/piggieback "0.2.2"]]
:repl-options {:nrepl-middleware [cemerick.piggieback/wrap-cljs-repl]}}}
Expand Down

0 comments on commit 87ff1c7

Please sign in to comment.