Last active
October 6, 2017 18:05
-
-
Save ryanflorence/70f9ca97de0606212424694a3629428d to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // first render | |
| <Avatar user={{ id: ‘ryan’ }}/> | |
| // next render | |
| <Avatar user={{ id: ‘ryan’ }}/> | |
| // prop diff thinks something changed because {} !== {} | |
| // element diff (reconciler) finds out that nothing changed |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment