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.
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.