> 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} />
```
> 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} />
```