Merge pull request #374 from cloojure/patch-1

Update WhenDoComponentsUpdate.md
This commit is contained in:
Juho Teperi 2018-05-18 09:14:40 +03:00 committed by GitHub
commit 8b335c050c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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.