Skip to content

[REFACTOR] react-router-dom v6 migration #116

Description

@omjinLTS

목적

Upgrade react-router-dom v5 to v6
Performance, Simplified code, Enable features based on hook

작업 상세 내용

  • install react-router-dom-v5-compat and setup CompatRouter
  • For all routes in the <Switch>
    • Change a <Route> inside of <Switch> to a <CompatRoute>
    • Update all APIs inside this route element tree to v6 APIs one at a time ex) useHistory, ...
  • Convert the <Switch> to a <Routes> for every <Switch>
  • Update <Links>
  • + Split Routers into files, move to Routes folder.

유의사항

Metadata

Metadata

Assignees

Labels

refactor코드 리팩토링

Type

No type

Fields

No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions