Skip to content

Commit

Permalink
Version 0.2.4
Browse files Browse the repository at this point in the history
  • Loading branch information
tonsky committed Feb 14, 2015
1 parent c5f3b3d commit 7b43e26
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 5 deletions.
10 changes: 7 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,8 @@ Add this to your `project.clj`:

```clojure
:dependencies [
[org.clojure/clojurescript "0.0-2760"]
[rum "0.2.3"]
[org.clojure/clojurescript "0.0-2850"]
[rum "0.2.4"]
]
```

Expand Down Expand Up @@ -133,7 +133,7 @@ Finally, `rum/cursored` is a mixin that will track changes in references passed
[:.label {:style {:color @color}} @text])
```

Note that `cursored` mixin creates passive component: it will not track any values, and will only compare arguments when re-created by its parent. Additional `rum/cursored-watch` mixin will add watches on every `IWatchable` in arguments list:
Note that `cursored` mixin creates passive component: it will not react to any changes in references by itself, and will only compare arguments when re-created by its parent. Additional `rum/cursored-watch` mixin will add watches on every `IWatchable` in arguments list:

```clojure
(rum/defc body < rum/cursored rum/cursored-watch [color text]
Expand Down Expand Up @@ -283,6 +283,10 @@ This is a detailed breakdown of what happens inside of Rum. By using `rum/defc`,

## Changes

### 0.2.4

- `will-update` and `did-update` lifecycle methods added (thx @[Andrey Vasenin](https://github.com/avasenin), pull request #18)

### 0.2.3

- Components defined via `defc/defcs` will have `displayName` defined (thx @[Ivan Dubrov](https://github.com/idubrov), pull request #16)
Expand Down
4 changes: 2 additions & 2 deletions project.clj
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
(defproject rum "0.2.3"
(defproject rum "0.2.4"
:description "ClojureScript wrapper for React"
:url "https://github.com/tonsky/rum"
:license {:name "Eclipse Public License"
Expand All @@ -7,7 +7,7 @@
:source-paths ["src"]
:dependencies [
[org.clojure/clojure "1.6.0" :scope "provided"]
[org.clojure/clojurescript "0.0-2816" :scope "provided"]
[org.clojure/clojurescript "0.0-2850" :scope "provided"]
[cljsjs/react "0.12.2-5"]
[sablono "0.3.1"]
]
Expand Down

0 comments on commit 7b43e26

Please sign in to comment.