Browse and learn from examples of small Cycle.js apps using Core, DOM Driver, HTML Driver, HTTP Driver, JSONP Driver, and others.
- Open the directory of an example in your terminal.
- Type
npm start
- Open the
index.html
of that example in your browser, with the full path, e.g.file:///Users/myself/cycle-examples/jsx-seconds-elapsed/index.html
Start with the examples under the basic folder in this order:
- hello-world
- checkbox
- counter
- http-random-user
- bmi-naive
This will get you introduced to one main concept with each example. Make sure to reach for each example's README file for more context.