Skip to content
This repository was archived by the owner on Mar 28, 2025. It is now read-only.

Commit 7b43e26

Browse files
committed
Version 0.2.4
1 parent c5f3b3d commit 7b43e26

File tree

2 files changed

+9
-5
lines changed

2 files changed

+9
-5
lines changed

README.md

+7-3
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,8 @@ Add this to your `project.clj`:
2727

2828
```clojure
2929
:dependencies [
30-
[org.clojure/clojurescript "0.0-2760"]
31-
[rum "0.2.3"]
30+
[org.clojure/clojurescript "0.0-2850"]
31+
[rum "0.2.4"]
3232
]
3333
```
3434

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

136-
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:
136+
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:
137137

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

284284
## Changes
285285

286+
### 0.2.4
287+
288+
- `will-update` and `did-update` lifecycle methods added (thx @[Andrey Vasenin](https://github.com/avasenin), pull request #18)
289+
286290
### 0.2.3
287291

288292
- Components defined via `defc/defcs` will have `displayName` defined (thx @[Ivan Dubrov](https://github.com/idubrov), pull request #16)

project.clj

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
(defproject rum "0.2.3"
1+
(defproject rum "0.2.4"
22
:description "ClojureScript wrapper for React"
33
:url "https://github.com/tonsky/rum"
44
:license {:name "Eclipse Public License"
@@ -7,7 +7,7 @@
77
:source-paths ["src"]
88
:dependencies [
99
[org.clojure/clojure "1.6.0" :scope "provided"]
10-
[org.clojure/clojurescript "0.0-2816" :scope "provided"]
10+
[org.clojure/clojurescript "0.0-2850" :scope "provided"]
1111
[cljsjs/react "0.12.2-5"]
1212
[sablono "0.3.1"]
1313
]

0 commit comments

Comments
 (0)