### 목적 > Upgrade react-router-dom v5 to v6 > Performance, Simplified code, Enable features based on hook ### 작업 상세 내용 - [x] install `react-router-dom-v5-compat` and setup CompatRouter - [x] 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. ### 유의사항 - [migration guide using react-router-dom-v5-compat](https://github.com/remix-run/react-router/discussions/8753) - [react-router-dom upgrading from v5 doc](https://reactrouter.com/en/6.22.3/upgrading/v5)
목적
작업 상세 내용
react-router-dom-v5-compatand setup CompatRouter<Switch><Route>inside of<Switch>to a<CompatRoute>useHistory, ...<Switch>to a<Routes>for every<Switch><Links>Routesfolder.유의사항