The App class is used to create the application instance. The instance itself exposes a connect function used to connect views to the state of the application and allow them to trigger actions. Following is a simple example to show you the structure.
h(Example, { name: "api/app_initialize" })
You can pass a second argument to the App constructor. This is an options object with the following properties:
By default the application connects to the devtools on localhost:3031, but you can change this in case you need to use an IP address ot the devtools has configured with a different port.
h(Example, { name: "api/app_options_devtools" })