mirror of
https://github.com/facebook/react.git
synced 2025-11-01 09:12:30 +00:00
Fix typo in 0.12 RC blog post
This commit is contained in:
@@ -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`.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user