Skip to content

React Developer Tools react-router-dom e.hasOwnProperty is not a function, Cannot read property 'name' of undefined #17764

Closed
@yrambler2001

Description

@yrambler2001

bug
Uncaught TypeError: Cannot read property 'name' of undefined
Uncaught TypeError: e.hasOwnProperty is not a function

infinite loading in component view
image

Reproduce:
use hook useRouter or HOC withRouter from react-router-dom and select component with hook/hoc in components view react developer tools
Issue is caused by not-bug hapijs/hapi#3280
(query object does not have constructor and does not have hasOwnProperty)

image
image
image

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions