seldom_state
seldom_state copied to clipboard
Access to a state in `on_enter`, and maybe `on_exit`
This is actually self-descriptive.
I need to perform some behavior (insert a component) that depends on the state I'm inserting. If I have no access to the state, then I cannot effectively perform any logic inside on_enter
.
I can help on PR.