Hi guys I\'m a beginner programmer just started on react router.
I have two questions. What is the difference between using an
The href attribute would trigger a page refresh which would reset the application states. However the link and navlink of react-router doesn't trigger a page refresh. Since React is used to create single page applications most of the time make sure you choose Link or Navlink when working with routing