---
# System prepended metadata

title: "React Router-Dom \U0001F975"
tags: [React]

---

# React Router-Dom 🥵
###### tags: `React`

### 技術核心： historyAPI
### BroswerRouter
### Switch
### Route
### useHistory
```javascript=
import { useHistory } from 'react-router-dom';

const history = useHistory;
history.push("/");
```
