Navigate between pages

So far, we navigated to all pages through links. But in a real application, there will be buttons that do some operation. And then redirect the user back to another page.

We will see some of those cases,

  • Programmatically navigate between pages
  • Back button to go to the previous page
  • Redirect through Redirect component