anchor.diff:  
   link:https://graphql.org/learn/queries/#fragments[GraphQL fragments] are used to structure the query and are generally useful when loading multi-level navigations.
   
  +TIP: In this example we are using hooks. If you want to know more, we recommend reading the link:https://reactjs.org/docs/hooks-intro.html[official introduction].
  +
   TIP: Define the needed information per level of your navigation and re-use the fragment to keep the GraphQL query well-arranged.
   
   NOTE: Add the `api.js` file to your `src` directory. 
  
positive.code: .api.js
  [source,js]
  ----
  {
  import {useState, useEffect} from 'react';
  
  export async function getNavigation() {
  
negative.code: 
  The `VehicleImage` nodes store the image data for each `Vehicle`. Additional fields could be added to store copyright information of `altText` data.
  
  The `name` identifies the schema in the system.
  
  The `displayField` controls what field should be used to display in the UI node list. In our case the name will be used to be displayed.
  
  The `segmentField` controls which field should be used to identify the node for the webroot API. Nodes can be nested in each other and thus each node can provide a segment for path. This way it is possible to load nodes via a path resolving system.
  
  