mirror of
https://github.com/status-im/reagent.git
synced 2025-01-13 13:24:47 +00:00
Update ComponentNotRerendering.md
This commit is contained in:
parent
9b18f2b7ca
commit
65ef4f17ef
@ -22,7 +22,7 @@ If a ratom changes but your Component doesn't update, then the gotchas to look o
|
|||||||
|
|
||||||
If the props to a Component change, but it doesn't appear to re-render, then the cause will be this rookie mistake: you forgot to repeat the parameters in the inner, anonymous render function.
|
If the props to a Component change, but it doesn't appear to re-render, then the cause will be this rookie mistake: you forgot to repeat the parameters in the inner, anonymous render function.
|
||||||
|
|
||||||
```
|
```clj
|
||||||
(defn outer
|
(defn outer
|
||||||
[a b c] ;; <--- parameters
|
[a b c] ;; <--- parameters
|
||||||
;; ....
|
;; ....
|
||||||
|
Loading…
x
Reference in New Issue
Block a user