-
Notifications
You must be signed in to change notification settings - Fork 8
Description
Opening a new issue to consider / discuss the possibility of adding Eventless Transitions, as proposed by @morungos:
Originally posted by @morungos in #8 (comment)
I'm just following up on my to-do list. Turns out, that second commit I removed earlier, which was about adding eventless transitions, has been incredibly useful (aka, more or less essential) to our project, and they weren't hard to add in. If you're interested, check out: morungos@0955042 I'd be more than happy to make that a pull request too (we don't really want to maintain a fork), but if not, it can stay independently where it is.
Proposed feature / API change
The proposed change is to allow _enter
lifecycle actions to return a new state, which may result is a chain of synchronous state changes from a single event invocation. Subscribers would only be notified after the final state change (and only if the resulting state is different that the pre-event state).