Browse Source

Fix typo in 0.12 RC blog post

main
Ben Alpert 10 years ago
parent
commit
91f8ffef12
  1. 2
      _posts/2014-10-16-react-v0.12-rc1.md

2
_posts/2014-10-16-react-v0.12-rc1.md

@ -106,7 +106,7 @@ You do NOT need to change the way to define `key` and `ref`, only if you need to
## Breaking Change: Default Props Resolution
This is a subtle difference but `defaultProps` are now resolved at `ReactElement` creation time instead of when it's mounted. This is means that we can avoid allocating an extra object for the resolve props.
This is a subtle difference but `defaultProps` are now resolved at `ReactElement` creation time instead of when it's mounted. This is means that we can avoid allocating an extra object for the resolved props.
You will primarily see this breaking if you're also using `transferPropsTo`.

Loading…
Cancel
Save