Quick noob-question: How can I persist a state-change?
Scenario:Button Hover-Effect with MouseOver, MouseOut and on Click it gets an Active-State.
Right now (which makes sense) the active state gets removed on MouseOut.
I usually put conditional on MouseOut, something like:
Layer.onMouseOut → If this.state.current.name != "active" this.stateSwitch("default")
Thanks! Yeah, that would have been my way now too... thought there was a nicer way!