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

Support tags #26

Open
UberMouse opened this issue Oct 25, 2022 · 0 comments
Open

Support tags #26

UberMouse opened this issue Oct 25, 2022 · 0 comments

Comments

@UberMouse
Copy link
Collaborator

xstate supports tags on states. Currently you can't access that information in the selectors or views.

Passing the hasTags function to the selector and view would be a simple solution. Tags are not typesafe currently, not sure if typegen will be updated to support them at some point, may make more sense to wait until then to not require a rework to add the type information. We don't use them internally at Koordinates.

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