0

React : redirect

How to redirect specific route after data is saved?

14th May 2024, 8:12 AM
Gaurav Dixit🇮🇳
Gaurav Dixit🇮🇳 - avatar
1 ответ
0
You can use the useNavigate hook from react-router-dom. You can download react-router-dom using npm. And rest of the part you can see here: https://reactrouter.com/en/main/hooks/use-navigate
14th May 2024, 9:12 AM
`ᴴᵗᵗየ
`ᴴᵗᵗየ - avatar