You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I sometimes have nested stores, i.e. a store that has properties which are themselves stores. To get at the value, I assign to an intermediate variable like so:
let barStore = $foo.barStore;
if (someExpression > $barStore) {
...
}
But it would be pretty natural to allow this inline, as in:
if (someExpression > $($foo.barStore)) {
...
}
I imagine this has been proposed but couldn't find the issue number.
Describe the proposed solution
An update to the syntax and compiler to allow the above.
Alternatives considered
The status quo.
Importance
nice to have
The text was updated successfully, but these errors were encountered:
Describe the problem
I sometimes have nested stores, i.e. a store that has properties which are themselves stores. To get at the value, I assign to an intermediate variable like so:
But it would be pretty natural to allow this inline, as in:
I imagine this has been proposed but couldn't find the issue number.
Describe the proposed solution
An update to the syntax and compiler to allow the above.
Alternatives considered
The status quo.
Importance
nice to have
The text was updated successfully, but these errors were encountered: