title: React - How to do Dynamic Routing in React app
body: <p>I'm new to react and started working with basic routes, i have a serious doubt in routing.</p>
  
  <ol>
  <li><p>I Have a 3 pages "Welcome.js" , "Signin.js, "Signup.js".</p></li>
  <li><p>"Welcome.js" contains signin and signup button.</p></li>
  <li><p>clicking on signin and signup button, it goes to its respective pages. </p></li>
  <li><p>both the signin and signup pages contains a backbutton, onclicking on backbutton it goes to welcome.js page.</p></li>
  <li><p>signin page contains text "if your a newuser go to signup" and signup page contains text "already a user, go to login".  on clicking on that texts, it goes to corresponding pages.</p></li>
  </ol>
  
  <p>so my problem is, if i click the "if your a newuser go to signup" and enters the signup page and pressing backbutton it goes to "welcome page". i want it to go to the signin page because the signup page comes from clicking the text from signin page. </p>
  
  <p>kindly give me idea, so i can implement this routing in my future works.</p>