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 repositorycd statechart-actors
yarn install
Running / Development
ember serve
- Visit your app at http://localhost:4200.
- Visit your tests at http://localhost:4200/tests.
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.