0

In my page, I have two links, addUser and viewUser. Now my requirement is on clicking addUser, the page should redirect to the addUser component replacing both the links. How to do it?

Rima
  • 1
  • What have you tried so far? Please add some code that you have tried so others can spot / correct your mistakes (if any). It's hard to say why is your routing not working without knowing what you have done so far? – AD8 Jun 28 '18 at 06:39
  • WOuld be easier if you have showed an example – Skel Jun 28 '18 at 09:13

1 Answers1

0

here is a post wich explain very well how it works and maybe can give you some ideas

chinaski
  • 116
  • 1
  • 7