rsnext/examples/with-xstate/package.json
Mohamed SADAT 9cc6ba93ab
update with-xstate example and add documentation for inspect package usage (#23287)
Hello this PR is in order to update xstate to the lastest version and use the `createMachine` method instead of `Machine`.
I also added the inspect mode in order to show how we could use into a next.js app.

## Documentation / Examples

- [x] Make sure the linting passes
2021-03-23 15:04:53 +00:00

17 lines
316 B
JSON

{
"name": "with-xstate",
"version": "1.0.0",
"scripts": {
"dev": "next",
"build": "next build",
"start": "next start"
},
"dependencies": {
"@xstate/react": "^1.3.1",
"next": "latest",
"react": "^17.0.1",
"react-dom": "^17.0.1",
"xstate": "^4.17.0"
},
"license": "MIT"
}