code: function render(state) {
    ReactDOM.render(<Router {...state}>
      <Route path="/" component={Index}>
        <Route path="users" component={Users}>
          <Route path=":id" component={User} />
        </Route>
  
        <Route path="pets" component={Pets}>
          <Route path=":id" component={Pet} />
        </Route>
      </Route>
  
      <Route path="*" component={NotFound} />
    </Router>, document.querySelector('#app'))
  }
docs: function render(state) { ReactDOM.render(<Router {...state}> <Route path="/" component={Index} />  <Route path="/users" component={Users}> <Route path=":id" component={User} /> </Route>  <Route path="/pets" component={Pets}> <Route path=":id" component={Pet} /> </Route>  <Route path="*" component={NotFound} /> </Router>, document.querySelector('#app')) }