3 ms·
They aren't a problem if the operations at the leaves of the graph are idempotent, which is usually the case if these operations are UI repaints. If the operat
by wooby 11y ago
They aren't a problem if the operations at the leaves of the graph are idempotent, which is usually the case if these operations are UI repaints.
If the operations are for other effects - such as Ajax calls - then glitch elimination is handy. Eliminating glitches at the dataflow level prevents debounce logic from leaking out to the code performing the effects, preserving the clarity and generality of that code.
I find glitch elimination most useful when the dataflow graph is value-propagated, vs. event-propagated, as it is in the dataflow library I helped implement, Javelin - https://github.com/hoplon/javelin/ https://github.com/hoplon/javelin/
Javelin also supports transactional input, another feature that's helpful when building dataflow graphs on which effects other than UI-repaint are hung.