Skip to content

[Deprecated] 'Switch' is not exported from 'react-router-dom' #28

Description

@milkcoke

Deprecated

Switch Redirect withRouter etc ... in react-router-dom are deprecated from v6

Log

ERROR in ./src/components/RegistrationForm/RegistrationForm.js 223:21-31
export 'withRouter' (imported as 'withRouter') was not found in 'react-router-dom' (possible exports: 
//...

ScreenShot

deprecated_withRouter

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