-
## React Router Dom
```
yarn add react-router-dom
```
## 사용 방법
1. `` 를 사용하던가
2. `createBrowserRouter` 를 사용하던가
### BrowserRouter
- index.tsx -> App.tsx -> Main.tsx 순으로 참조하고, PageHeader.tsx …
-
Integrate react router so that routing to different pages is possible
-
react-router-dom should be configurable or manageble externally just like the other libraries.
AC
* `OptimusUiApp` supports react-router-dom configuration
-
You need to bump up the react-router-dom package to the latest version by changing the routes in the main file.
-
Update router libs `history`, `react-router`, `react-router-dom` and `@types/react-router-dom`
Issues:
- many breaking changes which are not well documented
-
can't use mobx in react-router-dom v6 loader function , Is there a problem with my writing?
```jsx
"mobx": "5.15.4",
"mobx-react": "6.1.8",
```
```jsx
// appStore.tsx
class App…
-
i have a component that displays a list of teams - using the following code
```
const user = useUser({ or: 'redirect' });
if (user)
{
const teams = user.useTeams…
-
### Steps to reproduce
Code:
```
import { DataGrid } from '@mui/x-data-grid';
export default ()=>(
)
```
Steps:
1. yarn build
2. open on android's webview
3.page show:Unexpected App…
-
I know official support does not exist yet, but I wanted to try it as I'll be moving to React 19 pretty soon. When I first tried switching to React 19 I had gotten some errors on peerDependencies but …
-
npm install react-router-dom