[Feature Request] Disable component instances to manange state
For the most part I don’t use scenes. All of my states exist in components. The problem however of this approach is that I have to wrap all the the functionality inside components in conditonals, using variables as flags.
If not properly planned this can quickly become unweildly and prone to bugs.
Managing state is often a process of changing the opacity of components. Unfortunately having a component with an opacity of 0 doesn’t make it inactive.
What would be great is if we could have an inactive state responses / property where which I could use to manage state instead.
In real apps we have the concept of a viewstack which is essentially what I’m doing, I’m just rolling my own.
I’d also love to hear what other folks are doing when they have advanced multistate prototypes and how they’re managing state.
I know that using scenes is a way arounsd this but itself has its own downsides, mainly not being able to control variables inside of components. Also needed to have variables on the root scene. I prefer to have everything inside a root component so its more portable.
Anyway thoughts appriacted!