Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Recommendation: give example of how to use data from event in an action #450

Open
zzestio opened this issue Nov 23, 2024 · 0 comments
Open

Comments

@zzestio
Copy link

zzestio commented Nov 23, 2024

I was looking for a way to use data from an event to construct action payload. Could not find a straightforward example in the docs.
After searching for a while I stumbled upon the following example, but I think it's a good idea to add it to the docs.

https://github.com/Devessier/xstatebyexample/blob/main/src/examples/video-player/machine.ts#L368

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant