Update React to 15.2.0-rc.1
Summary:
Notable changes (excluding DOM-only things):
- Improved warning messages for propTypes and key warnings
- Production error codes
- Improved performance in DEV mode
- More accurate data in ReactPerf instrumentation
- Experimental JSON test renderer
- Minor bug fixes
Full changelog: fef495942a...c66f40f749
.
Reviewed By: AaaChiuuu
Differential Revision: D3442002
fbshipit-source-id: 940fc65ba5d0b742417bbe2fcbd36eb9dc7443e1
This commit is contained in:
parent
a60b74d974
commit
92d6632d7a
|
@ -129,7 +129,7 @@ class Inspector extends React.Component {
|
|||
// therefore we use the internal _instance property directly.
|
||||
var publicInstance = instance['_instance'] || {};
|
||||
var source = instance['_currentElement'] && instance['_currentElement']['_source'];
|
||||
UIManager.measure(instance.getNativeNode(), (x, y, width, height, left, top) => {
|
||||
UIManager.measure(instance.getHostNode(), (x, y, width, height, left, top) => {
|
||||
this.setState({
|
||||
inspected: {
|
||||
frame: {left, top, width, height},
|
||||
|
|
|
@ -125,7 +125,7 @@
|
|||
"react-native": "local-cli/wrong-react-native.js"
|
||||
},
|
||||
"peerDependencies": {
|
||||
"react": "~15.1.0"
|
||||
"react": "~15.2.0-rc.1"
|
||||
},
|
||||
"dependencies": {
|
||||
"absolute-path": "^0.0.0",
|
||||
|
@ -201,7 +201,7 @@
|
|||
"flow-bin": "^0.27.0",
|
||||
"jest": "12.1.1",
|
||||
"portfinder": "0.4.0",
|
||||
"react": "~15.1.0",
|
||||
"react": "~15.2.0-rc.1",
|
||||
"shelljs": "0.6.0"
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue