Exclude a value for a path parameter in React Router by type
Found a possible solution: You can use Switch around the routes. Then it will only match on the first one that matches.
<Switch>
<Route path='/person/add' exact component={PersonForm}/>
<Route path='/person/:id' exact component={PersonView}/>
</Switch>