File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 76
76
77
77
## Using Rum
78
78
79
- Add to project.clj: ` [rum "0.11.2 "] `
79
+ Add to project.clj: ` [rum "0.11.3 "] `
80
80
81
81
### API Docs
82
82
83
- [ ![ cljdoc badge] ( https://cljdoc.xyz /badge/rum/rum )] ( https://cljdoc.xyz /d/rum/rum/CURRENT )
83
+ [ ![ cljdoc badge] ( https://cljdoc.org /badge/rum/rum )] ( https://cljdoc.org /d/rum/rum/CURRENT )
84
84
85
85
### Defining a component
86
86
@@ -532,7 +532,7 @@ To define child context
532
532
533
533
If used from clj/cljc, Rum works as a traditional template engine à la Hiccup:
534
534
535
- 1 . Rum’s ` project.clj ` dependency becomes ` [rum "0.11.2 " :exclusions [cljsjs/react cljsjs/react-dom sablono] `
535
+ 1 . Rum’s ` project.clj ` dependency becomes ` [rum "0.11.3 " :exclusions [cljsjs/react cljsjs/react-dom sablono] `
536
536
2 . Import ` rum.core ` as usual.
537
537
3 . Define components using ` rum/defc ` or other macros as usual.
538
538
4 . Instead of mounting, call ` rum/render-html ` to render into a string.
Original file line number Diff line number Diff line change 412
412
(fn [a b]
413
413
(str a \" :\" b))))
414
414
415
- (type *x) ;; => clojure.lang.Atom
415
+ (type *x) ;; => clojure.lang.Atom
416
416
(deref *x) ;; => \" 0:1\"
417
417
418
418
(swap! *a inc)
You can’t perform that action at this time.
0 commit comments