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

Custom state key for switch transition #28

Open
yemi opened this issue Feb 1, 2024 · 0 comments
Open

Custom state key for switch transition #28

yemi opened this issue Feb 1, 2024 · 0 comments

Comments

@yemi
Copy link

yemi commented Feb 1, 2024

Hi and thanks for this lib!

I have a question, where would I look in order to support using a certain key on the state that, when changed should trigger a transition?

The reason is that the state object might change but if it's e.g. object.id is the same, it shouldn't transition.

I would be happy to look in to the source code, but it you know straight away where to look to implement this, I'd be happy :)

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