set default params in Route react code example
Example: react router dom default params
> As such, to define an optional parameter, you do:
```
<Route path="/to/page/:pathParam?" component={MyPage} />
```
> and for multiple optional parameters:
```
<Route path="/to/page/:pathParam1?/:pathParam2?" component={MyPage} />
```