mirror of https://github.com/status-im/reagent.git
Merge pull request #374 from cloojure/patch-1
Update WhenDoComponentsUpdate.md
This commit is contained in:
commit
8b335c050c
|
@ -186,7 +186,7 @@ The `=` version is more accurate, more intuitive, but potentially more expensive
|
||||||
|
|
||||||
### Efficient Re-renders
|
### Efficient Re-renders
|
||||||
|
|
||||||
Its only via rerenders that a UI will change. So re-rendering is pretty essential.
|
It's only via rerenders that a UI will change. So re-rendering is pretty essential.
|
||||||
|
|
||||||
On the other hand, unnecessary re-rendering should be avoided. In the worst case, it could lead to performance problems. By unnecessary rendering, I mean rerenders which result in unchanged HTML. That's a whole lot of work for no reason.
|
On the other hand, unnecessary re-rendering should be avoided. In the worst case, it could lead to performance problems. By unnecessary rendering, I mean rerenders which result in unchanged HTML. That's a whole lot of work for no reason.
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue