code: function renderRoutes() {
    return (
      <Switch>
        {
          routes.map(route => (
            <Route key={route.path || ''} {...route} />
          ))
        }
      </Switch>
    );
  }
docs: Render routes from route config