5
0
mirror of https://github.com/wailsapp/wails.git synced 2025-05-02 19:50:15 +08:00

docs: update routing.mdx (#2547)

This commit is contained in:
Misite Bao 2023-04-01 13:05:09 +08:00 committed by GitHub
parent 78f638a9bc
commit 49bd33e642
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -27,7 +27,7 @@ RouterModule.forRoot(routes, { useHash: true });
## React
The recommended approach for routing in React is [HashRouter](https://reactrouter.com/docs/en/v6/routers/hash-router):
The recommended approach for routing in React is [HashRouter](https://reactrouter.com/en/main/router-components/hash-router):
```jsx
import { HashRouter } from "react-router-dom";