(Disclaimer: I am new to React and React-Router, so this may be obvious to someone with more familiarity)
I am creating a simple project with React-Router 2.5.2 with ES6 and I have a working solution but it feels like it may not be the React Router way. I have this Route:
<Route path=lists/:listId component={List}/>
and elsewhere I have a Link:
<Link to={`/lists/${props.list._id}`}>{props.list.name}</Link>
Is this the preferred way to compose a to attribute that passes dynamic content? Or am I fundamentally misunderstanding React Router?