Update WhenDoComponentsUpdate.md

small typo
This commit is contained in:
Alan Thompson 2018-05-17 17:18:12 -04:00 committed by GitHub
parent 972c3e2c5d
commit 6136ec5e09
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.