You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Mar 28, 2025. It is now read-only.
Copy file name to clipboardExpand all lines: README.md
+9-5
Original file line number
Diff line number
Diff line change
@@ -35,7 +35,7 @@ Rum provides basic tools that every React app eventually need:
35
35
36
36
## Using Rum <ahref="https://gitter.im/tonsky/rum?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge"><imgsrc="https://camo.githubusercontent.com/da2edb525cde1455a622c58c0effc3a90b9a181c/68747470733a2f2f6261646765732e6769747465722e696d2f4a6f696e253230436861742e737667"alt="Gitter"data-canonical-src="https://badges.gitter.im/Join%20Chat.svg"style="max-width:100%;"></a>
37
37
38
-
1. Add `[rum "0.4.1"]` to dependencies
38
+
1. Add `[rum "0.4.2"]` to dependencies
39
39
2.`(require '[rum.core :as rum])`.
40
40
41
41
Simplest example defines component, instantiates it and mounts it on a page:
@@ -320,9 +320,13 @@ This is a detailed breakdown of what happens inside of Rum. By using `rum/defc`,
320
320
321
321
## Changes
322
322
323
+
### 0.4.2
324
+
325
+
- Check for `setTimeout` in global scope instead of in window (thx [Alexander Solovyov](https://github.com/piranha), PR #43)
326
+
323
327
### 0.4.1
324
328
325
-
- Fixed but with rum macros emitting wrong namespace. You can now require `rum.core` under any alias you want (thx@[Stuart Hinson](https://github.com/stuarth), PR #42)
329
+
- Fixed bug with rum macros emitting wrong namespace. You can now require `rum.core` under any alias you want (thx [Stuart Hinson](https://github.com/stuarth), PR #42)
326
330
327
331
### 0.4.0
328
332
@@ -331,7 +335,7 @@ This is a detailed breakdown of what happens inside of Rum. By using `rum/defc`,
331
335
### 0.3.0
332
336
333
337
- Upgraded to React 0.13.3, Sablono 0.3.6, ClojueScript 1.7.48
334
-
- New API to access context: `child-context`, `child-context-types`, `context-types` (thx@[Karanbir Toor](https://github.com/currentoor), PR #37)
338
+
- New API to access context: `child-context`, `child-context-types`, `context-types` (thx [Karanbir Toor](https://github.com/currentoor), PR #37)
335
339
- New `defcc` macro forwhen you only need React component, not the whole Rum state
336
340
- [ BREAKING ] Component inner state (`:rum/state`) was moved from `props` to `state`. It doesn’t change a thing if you were using Rum API only, but might break something if you were relaying on internal details
337
341
- Deprecated `rum/with-props` macro, use `rum/with-key` or `rum/with-ref` fns instead
@@ -351,11 +355,11 @@ This is a detailed breakdown of what happens inside of Rum. By using `rum/defc`,
- Components defined via `defc/defcs` will have `displayName` defined (thx@[Ivan Dubrov](https://github.com/idubrov), pull request #16)
362
+
- Components defined via `defc/defcs` will have `displayName` defined (thx [Ivan Dubrov](https://github.com/idubrov), pull request #16)
359
363
- Not referencing `requestAnimationFrame` when used in headless environment (thx @[whodidthis](https://github.com/whodidthis), pull request #14)
0 commit comments