Skip to content

Feature: Declarative hooks for watching and other "WhileInState" operations #2

Description

@n8allan

This avoids the problem that can arise when using, for instance, WatchOtherWhileInState on a superstate, where if the developer forgets to explicitly pass the superstate to the "inState" param, the assumption is made to watch on the sub-state actually being transitioned into, which causes the watch lifetime to be only for the sub-state, not the intended superstate.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions