Why is there onEnter* fired on state machine initialization?

Author: nemanjan00Created Jan 2, 2020Updated Jan 9, 2021

Can that be disabled?

If I am setting existing state, machine is already in, why is there event fired?

Can that behaviour be disabled?

I can see I got there from "none", but, I do not want to have if(lifecycle.from == "none) return; in each event handler...

Source: jakesgordon/javascript-state-machine