How is the ‘state’ variable in applications supposed to work? From the (minimal) documentation, it seemed that it would be a place to save state across invocations. However, simple examples show that
Can you post the code? I have been using state in my apps and it seems to work fine. And I just tried the code below in the IDE, and I saw “yes” got printed when I turned “theSwitch” on and then “logSwitch” on. And “no” got printed when I turned “theSwitch” off then “logSwitch” off and then on.