Open gunyarakun opened 6 years ago
With react@16.0.0, Uncaught TypeError: Cannot read property 'string' of undefined occurs because lib/react/link.js in the released 0.0.6 package from npm includes these lines which uses react.PropTypes.
react@16.0.0
Uncaught TypeError: Cannot read property 'string' of undefined
lib/react/link.js
0.0.6
react.PropTypes
Link.propTypes = { to: _react.PropTypes.string, href: _react.PropTypes.string, external: _react.PropTypes.bool, target: _react.PropTypes.string, className: _react.PropTypes.string, onClick: _react.PropTypes.func };
I think separating the package prop-types from react at React v15.5 would cause this issue. https://reactjs.org/docs/typechecking-with-proptypes.html
prop-types
react
Rebuilding redux-tower from the latest source codes resolves the problem in my environment.
redux-tower
@gunyarakun Thanks for giving comment. I'll rebuild and release within few days.
This was solved?
With
react@16.0.0
,Uncaught TypeError: Cannot read property 'string' of undefined
occurs becauselib/react/link.js
in the released0.0.6
package from npm includes these lines which usesreact.PropTypes
.I think separating the package
prop-types
fromreact
at React v15.5 would cause this issue. https://reactjs.org/docs/typechecking-with-proptypes.htmlRebuilding
redux-tower
from the latest source codes resolves the problem in my environment.