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
How is this being used? Do you find you need it very often?
The requirement of sampling the Dynamic immediately in order to execute the action initially is something that we usually try to avoid in widget code because it's stricter than most other operations, and can result in loops that are trickier than usual to decipher.
@2426021684 This is very similar to runWithReplace. Would that be helpful here?
One of the rules we try to abide by in all our widget code is not to be strict in any Behaviors (including the current of a Dynamic). It can lead to awkward code sometimes, but it also seems to make people far less likely to write code that loops, so we've considered it an acceptable tradeoff. On the other hand, there may be some other approach we could use to avoid loops. If you have any ideas, let me know!
The weird type signature is required because m1 must be PushM and m.
The text was updated successfully, but these errors were encountered: