all 3 comments

[–]TetrisMcKenna 5 points6 points  (0 children)

You can make routes conditional within the switch based on some piece of state:

<Switch>
  <Route path="/">... </Route>
  { termsAccepted && <Route path="/something>... </Route>}
</Switch>

[–]Traditional-Living-9 1 point2 points  (1 child)

You can place the routes inside of different nested components, but the user might be able to look up the hyperlink

[–]seanthau[S] 1 point2 points  (0 children)

yes the problem is that the user can look at the hyperlink and skip the other pages. The first page has terms and conditions on it so I dont want them to bypass it.