0
React : redirect
How to redirect specific route after data is saved?
1 Réponse
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