-
Notifications
You must be signed in to change notification settings - Fork 7
Open
Labels
refactor코드 리팩토링코드 리팩토링
Description
목적
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
, ...
- Change a
- Convert the
<Switch>
to a<Routes>
for every<Switch>
- Update
<Links>
- + Split Routers into files, move to
Routes
folder.
유의사항
Metadata
Metadata
Assignees
Labels
refactor코드 리팩토링코드 리팩토링