I’m currently experimenting with presets, i.e., controls that change the values of
viewof cells. Some of these cells’ inputs derive their valid ranges from other cells.
This has led to a bit of a pickle when a preset sets values on multiple interdependent cells in a single tick. A simplified example can be found here:
Currently I’m using chained promises to assign values after one another. This leads to intermediate and unnecessary computations in other dependent cells which consume the
viewof cells’ values.
Which strategies or patterns can be used to handle this situation (and use case) more efficiently?