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

Machine service #3

Open
xanadu72 opened this issue Feb 16, 2023 · 0 comments
Open

Machine service #3

xanadu72 opened this issue Feb 16, 2023 · 0 comments

Comments

@xanadu72
Copy link

I wanted to add an onTransition callback to the machine service while defining my component.
Unfortunately I have no access to the machine except in the child views. Do you think exposing the machine service defineExpose( { machineService } ); could be of any interest ?

By the way. Could you remove the annoying console log in :

console.log(newState);

Thanks for your great package
Cheers,
Dante

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