Browse Source
Minor "fix" to the suggested fix in the blog post to default back to empty object if `state.prevProps` isn't yet set. This will help anyone copying the example as-is who has stumbled across this blog post.main
committed by
Dan Abramov
1 changed files with 1 additions and 1 deletions
Loading…
Reference in new issue