When using onEnter to redirect to a state, if the new state is a child of the current state, an infinite loop occurs.When using onEnter to redirect to a state, if t
When using onEnter to redirect to a state, if the new state is a child of the current state, an infinite loop occurs.When using onEnter to redirect to a state, if t