Addition of 'this.context' component breaking change

this.context on components is now reserved for internal use by React

closes #1141
This commit is contained in:
Shaun Trennery
2014-02-20 14:32:57 +02:00
committed by Paul O’Shannessy
parent 422266b80f
commit 5790d76faf
2 changed files with 2 additions and 0 deletions

View File

@@ -68,6 +68,7 @@ In cases where you want to preserve the space adjacent to a newline, you can wri
- On mouse wheel events, `deltaY` is no longer negated
- When prop types validation fails, a warning is logged instead of an error thrown (with the production build of React, the type checks are now skipped for performance)
- On `input`, `select`, and `textarea` elements, `.getValue()` is no longer supported; use `.getDOMNode().value` instead
- this.context on components is now reserved for internal use by React
#### New Features

View File

@@ -76,6 +76,7 @@ In cases where you want to preserve the space adjacent to a newline, you can wri
- On mouse wheel events, `deltaY` is no longer negated
- When prop types validation fails, a warning is logged instead of an error thrown (with the production build of React, type checks are now skipped for performance)
- On `input`, `select`, and `textarea` elements, `.getValue()` is no longer supported; use `.getDOMNode().value` instead
- this.context on components is now reserved for internal use by React
#### New Features