State information in a device driver code

You have to refresh the browser window in order to see state updates. They don't update automatically like attributes do.

You can use state.remove() like the demos here, and state.clear() of you just want to nuke things for a clean slate. EDIT: although, saving preferences does refresh the page. My guess is that the accessing the data for the page display is racing the actual data update. What happens if you refresh the page again?

1 Like