useNavigate replace flag: Boolean form deprecation status
useNavigate replace flag: Boolean form deprecation status React Router’s useNavigate hook returns a navigate function that can programmatically change routes. The navigate function traditionally accepted a second argument that is either a boolean indicating replace or an options object { replace: boolean, state: any } . The boolean form is marked as deprecat