statelyai / xstate

Actor-based state management & orchestration for complex app logic.
https://stately.ai/docs
MIT License
26.98k stars 1.24k forks source link

[core] Add warning for imperative built-in action calls #4876

Closed davidkpiano closed 5 months ago

davidkpiano commented 5 months ago

This PR warns for improper imperative calls of built-in actions, which is a very common problem.

https://stately.ai/docs/actions#built-in-actions

changeset-bot[bot] commented 5 months ago

🦋 Changeset detected

Latest commit: 4be3f35eebb54503fe67cd2fbd91cde03bc11208

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package | Name | Type | | ------ | ----- | | xstate | Patch |

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

davidkpiano commented 5 months ago

Ping @Andarist