Skip to content

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

@wickedest

Description

@wickedest

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)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions