This example illustrates using the driver to send queries into a component and update the state from the outside.
From the root of the Halogen project:
$ npm run example-counter
The code will be built as example.js
in the examples/counter/dist
directory within the example, runnable by opening the corresponding index.html
.