mirror of
https://github.com/status-im/reagent.git
synced 2025-01-14 05:45:06 +00:00
fixes require typo in readme example
This commit is contained in:
parent
2df1b1d25c
commit
906cd0bca6
@ -91,8 +91,8 @@ You mount the component into the DOM like this:
|
|||||||
|
|
||||||
```clj
|
```clj
|
||||||
(defn mountit []
|
(defn mountit []
|
||||||
(reagent/render-component [childcaller]
|
(r/render-component [childcaller]
|
||||||
(.-body js/document)))
|
(.-body js/document)))
|
||||||
```
|
```
|
||||||
|
|
||||||
assuming we have imported Reagent like this:
|
assuming we have imported Reagent like this:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user