1

I am trying to mimic this example from react-router. I dug through some issues on GH and it doesn't seem possible. At the same time, though, isn't this something that is basic/common among web apps? Am I missing something obvious?

My current structure is:

/pages
  /session
    [sid].js
    /topics
      [tid].js

The session page has a list of topics that I want to update on the [sid].js page. However, everything I tried just navigates to [tid].js. I've tried using <Link> with replace but this doesn't do what I want because I do still want the item in history. I tried router.push but I'm in the same boat and would really like to use a <a> element.

adam-beck
  • 5,659
  • 5
  • 20
  • 34

0 Answers0