Examples

  1. Counter
  2. TodoList
  3. Async API

Counter

The first example is a super basic counter.
One can find the source code under examples/Counter.
You will also find a guide how to run the example.

It covers:

  • Model
  • Actions
  • Actions with Payload
  • Delayed Actions using Effects

TodoList

A TodoList is a common example to showcase basic state management.
One can find the source code under examples/TodoList.
You will also find a guide how to run the example.

It covers:

  • Model
  • Actions
  • Actions with Payload
  • Immutable Array Updates
  • State Selection

Async API

This example is a bit more advanced as it included fetching data from an actual REST API.
One can find the source code under examples/AsyncAPI.
You will also find a guide how to run the example.

It covers:

  • Model
  • Actions
  • Actions with Payload
  • Effects
  • Data Fetching using Effects

results matching ""

    No results matching ""