Glad you liked it. But you sure the last way is not working? I'm positive it was working when I wrote this post, I also linked my repo which has the code I wrote back then. I have used Router instead of BrowserRouter, as BrowserRouter comes with its own history
Programmatic navigation is useful for implementing complex navigation logic, such as redirecting users after form submissions, implementing multi-step forms, or navigating based on authentication status.
Glad you liked it. But you sure the last way is not working? I'm positive it was working when I wrote this post, I also linked my repo which has the code I wrote back then. I have used Router instead of BrowserRouter, as BrowserRouter comes with its own history
Amazing, it works when I tried to use Router! Thanks a lot !!
Programmatic navigation is useful for implementing complex navigation logic, such as redirecting users after form submissions, implementing multi-step forms, or navigating based on authentication status.
chimney repair