react-stack-nav icon indicating copy to clipboard operation
react-stack-nav copied to clipboard

With react >16.x, Uncaught TypeError: Cannot read property 'object' of undefined

Open wickedest opened this issue 7 years ago • 0 comments

React stack nav has a dependency on the old way PropTypes was bundled. Using react 16.x causes an exception:

Uncaught TypeError: Cannot read property 'object' of undefined
    at eval (webpack-internal:///./node_modules/react-stack-nav/lib/createOrchestrator.js:108)
    at eval (webpack-internal:///./src/App.js:1)
    at Object../src/App.js (bundle.js:10212)
    at __webpack_require__ (bundle.js:20)
    at eval (webpack-internal:///./src/index.js:1)
    at Object../src/index.js (bundle.js:10308)
    at __webpack_require__ (bundle.js:20)
    at eval (webpack-internal:///./web/index.js:1)
    at Object../web/index.js (bundle.js:10343)
    at __webpack_require__ (bundle.js:20)

wickedest avatar Mar 31 '18 18:03 wickedest