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
You will need the following things properly installed on your computer.
git clone <repository-url>
this repositorycd statechart-actors
yarn install
ember serve
- Visit your app at http://localhost:4200.
- Visit your tests at http://localhost:4200/tests.
Make use of the many generators for code, try ember help generate
for more details
ember test
ember test --server
yarn lint
yarn lint:fix
ember build
(development)ember build --environment production
(production)
Specify what it takes to deploy your app.