React' findNodeHandle method stopped working
问题 After upgrade to 0.26.0-rc version, this line: React.findNodeHandle(this.refs.myRef) Throws this error message: Unhandled JS Exception: _react2.default.findNodeHandle is not a function. I'm importing React with this: import React from 'react'; Docs still say: "As always, to obtain a native node handle for a component, you can use React.findNodeHandle(component)." 回答1: Now the function may be used without object: import { ... findNodeHandle, ... } from 'react-native'; And call it directly: