You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm having this issue where the should_exist method of a sub-state is not run despite its sources having changed.
Here is a minimal working example of my problem:
If you run this code, you can see that the sub-state Main enters its variant Main::Phase2. But event though Main was modified and is a source of Menu, the should_exist method of Menu is not called (otherwise we would have a print). What am I missing ?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I'm having this issue where the
should_exist
method of a sub-state is not run despite its sources having changed.Here is a minimal working example of my problem:
If you run this code, you can see that the sub-state
Main
enters its variantMain::Phase2
. But event thoughMain
was modified and is a source ofMenu
, theshould_exist
method ofMenu
is not called (otherwise we would have a print). What am I missing ?Beta Was this translation helpful? Give feedback.
All reactions