...

/

The 'h' Function of Virtual Hyperscript

The 'h' Function of Virtual Hyperscript

Learn about the drivers of Cycle.js and the functions used in the user interface.

We'll cover the following...

Cycle.js drivers

Cycle.js drivers are functions that we use to cause side effects. Nowhere else in our programs should we modify the state in any way. Drivers take an Observable that emits data from our application and return another Observable that causes the side effects.

We won’t need to create drivers very often—only when we need side effects ...