import { useNavigate } from 'react-router-dom'
const navigate = useNavigate()
navigate('/sign-in', { replace: true })
Using replace true, the browser not allow back to back page after to navigate to sign-in route, how the example.
import { useNavigate } from 'react-router-dom'
const navigate = useNavigate()
navigate('/sign-in', { replace: true })
Using replace true, the browser not allow back to back page after to navigate to sign-in route, how the example.
For further actions, you may consider blocking this person and/or reporting abuse
Joan Roucoux -
keploy -
Nenepo -
Rails Designer -
Top comments (1)
Hello Rafael.
We have reviewed your profile and find it impressive. If you are currently available for work, please reach out to me here. I have an exciting Blockchain project that I believe will capture your interest.
Looking forward to potentially collaborating with you on this project.