/ember-statecharts-actors

Demonstration of how to use statecharts as and with actors in Ember.js

Primary LanguageJavaScript

statechart-actors

This app demonstrate how we can use ember-statecharts and XState's actor feature together.

The demo-use case:

  • Show a blog posts overview page
  • When a blog post's detail view is accessed details will be "requested" in the background - while this is happening the app is still responsive
  • When a blog post's details have already been loaded this behavior won't retrigger

Prerequisites

You will need the following things properly installed on your computer.

Installation

  • git clone <repository-url> this repository
  • cd statechart-actors
  • yarn install

Running / Development

Code Generators

Make use of the many generators for code, try ember help generate for more details

Running Tests

  • ember test
  • ember test --server

Linting

  • yarn lint
  • yarn lint:fix

Building

  • ember build (development)
  • ember build --environment production (production)

Deploying

Specify what it takes to deploy your app.

Further Reading / Useful Links