Update React to 15.4.2

Related to #289
This commit is contained in:
Juho Teperi 2017-03-19 16:49:30 +02:00
parent 4ea070d15a
commit 70adddae37
3 changed files with 10 additions and 4 deletions

View File

@ -1,6 +1,12 @@
# Changelog # Changelog
## Unreleased
**[compare](https://github.com/reagent-project/reagent/compare/v0.6.1...master)**
- React updated to 15.4.2
- Fixes a problem with `number` inputs, ([#289](https://github.com/reagent-project/reagent/issues/289), [facebook/react#8717](https://github.com/facebook/react/issues/8717))
## 0.6.1 (10.3.2017) ## 0.6.1 (10.3.2017)
**[compare](https://github.com/reagent-project/reagent/compare/v0.6.0...v0.6.1)** **[compare](https://github.com/reagent-project/reagent/compare/v0.6.0...v0.6.1)**

View File

@ -35,7 +35,7 @@ To use Reagent in an existing project you add this to your dependencies in `proj
This is all you need to do if you want the standard version of React. If you want the version of React with addons, you'd use something like this instead: This is all you need to do if you want the standard version of React. If you want the version of React with addons, you'd use something like this instead:
[reagent "0.6.0" :exclusions [cljsjs/react]] [reagent "0.6.0" :exclusions [cljsjs/react]]
[cljsjs/react-with-addons "15.4.0-0"] [cljsjs/react-with-addons "15.4.2-2"]
If you want to use your own build of React (or React from a CDN), you have to use `:exclusions` variant of the dependency, and also provide a file named "cljsjs/react.cljs", containing just `(ns cljsjs.react)`, in your project. If you want to use your own build of React (or React from a CDN), you have to use `:exclusions` variant of the dependency, and also provide a file named "cljsjs/react.cljs", containing just `(ns cljsjs.react)`, in your project.

View File

@ -5,8 +5,8 @@
:dependencies [[org.clojure/clojure "1.8.0"] :dependencies [[org.clojure/clojure "1.8.0"]
[org.clojure/clojurescript "1.8.51"] [org.clojure/clojurescript "1.8.51"]
[cljsjs/react-dom "15.4.0-0"] [cljsjs/react-dom "15.4.2-2"]
[cljsjs/react-dom-server "15.4.0-0"]] [cljsjs/react-dom-server "15.4.2-2"]]
:plugins [[lein-cljsbuild "1.1.5"] :plugins [[lein-cljsbuild "1.1.5"]
[codox "0.9.0"]] [codox "0.9.0"]]