1let routes = (
2 <Fade>
3 <Switch>
4 {/* there will only ever be one child here */}
5 <Route />
6 <Route />
7 </Switch>
8 </Fade>
9);
10
11let routes = (
12 <Fade>
13 {/* there will always be two children here,
14 one might render null though, making transitions
15 a bit more cumbersome to work out */}
16 <Route />
17 <Route />
18 </Fade>
19);
20