diff --git a/README_FROM_VERSION_3_TO_4.md b/README_FROM_VERSION_3_TO_4.md index 3cccf66..726eda9 100644 --- a/README_FROM_VERSION_3_TO_4.md +++ b/README_FROM_VERSION_3_TO_4.md @@ -4,7 +4,7 @@ ### Callback order has been changed -The first callback to be run is `:before` of the event. A state's `:before_exit' callback +The first callback to be run is `:before` of the event. A state's `:before_exit` callback is now run directly before its `:exit` callback. Event-based guards are now run before any of the transition guards are run. And finally, before running any state callbacks, all (event- and transition-based) guards are run to check whether the state callbacks