49
rated 0 times
[
54]
[
5]
/ answers: 1 / hits: 22533
/ 8 Years ago, thu, may 12, 2016, 12:00:00
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).
More From » ecmascript-6