Closed colegleason closed 6 years ago
I agree, this is very confusing. So far I'm hotfixing this by defining _onEnter: _.noop
in every state.
Thanks for reporting this @colegleason - apologies for the delay in getting back to you on it. I'll look at getting this patched.
This will go out with 2.0.1
Just a quick note: It seems that the changelog.md wasn't updated to reflect the recent 2.0.1 release :)
@joepie91 - changelog.md updated. Thanks!
Appreciated, thanks :)
I use the "transitioned" even to watch for a successful transition. Some of my states do not need _onEnter functions, so this event does not fire. I currently just define an empty function in this case. It would be nice if the transitioned event fired regardless of _onEnter being defined, but always after _onEnter if it is defined.