xstate-codegen
xstate-codegen copied to clipboard
A codegen tool for 100% TS type-safety in XState
Bumps [y18n](https://github.com/yargs/y18n) from 4.0.0 to 4.0.1. Changelog Sourced from y18n's changelog. Change Log All notable changes to this project will be documented in this file. See standard-version for commit guidelines....
I'm using nextjs framework, and this is the error that I get when trying to generate the code. `` UnhandledPromiseRejectionWarning: Error: You have declared using "bundled" babelHelpers, but transforming /home/user/path.to.machine/file.ts...
Hey! I love your work at this package! It doesn't seem to work with Snowpack. I'm getting this error: ``` SyntaxError: The requested module '../../../../../_snowpack/pkg/@xstate/compiled/react.js' does not provide an export...
Let's discuss this as a new issue and close #48 since it seems like a much more complicated problem. The `useActor` alone has 3 overloads around some `getSnapshot` which I...
I've noticed there is some attempt in code to make macros working, but no testable example so far. So I've added one and it doesn't seem to work. I have...
Partial fix for #48 including only `useService`. Personally, I haven't use the `useActor` just yet and I am not sure how it even works. I think it's better to keep...
Replacement for PR #60 (somehow I messed up rebase).
Typestates?
First: thanks for bringing more safety to the machines! I was wondering whether support is planned for [Typestates](https://xstate.js.org/docs/guides/typescript.html#typestates), to narrow context type inside statements such as `if (state.matches('foo')) { ......
Let's say I have a service definition like this: ``` initializing: { invoke: { src: 'getToken', onDone: { actions: 'updateToken', target: 'ready', }, onError: { target: 'failure', }, }, },...
Bumps [ini](https://github.com/isaacs/ini) from 1.3.5 to 1.3.8. Commits a2c5da8 1.3.8 af5c6bb Do not use Object.create(null) 8b648a1 don't test where our devdeps don't even work c74c8af 1.3.7 024b8b5 update deps, add linting...