-
Notifications
You must be signed in to change notification settings - Fork 18
Closed
Description
I just spent several hours trying to run down a null-pointer bug, imagining that the central issue was that a widget's state was being queried before it was instantiated. It turned out that the problem was that setting the widget's state was causing a connection to fire, and that was invoking a method on another instance of the component (one that hadn't been instantiated) and as a result the state of a non-instantiated widget was being queried.
There are probably best practices which can deal with this, which don't need to be enforced, but tooling to help a programmer track down connections would be appreciated.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels