Hey, I have been wondering about how the update scheduler is supposed to be used with it’s write vs. read phases.
-
Does “DOM writing” include all writing, also to parts of the DOM that are not part of prosemirror at all?
-
What about things that have their own scheduling systems for drawing things to the DOm such as Mathjax?
-
What about simple operations such as
jQuery(’.buttons’).addClass(‘disabled’);
The first part ( jQuery(’.buttons’) ) will of course read from the DOM, whereas the second part (addClass(‘disabled’) ) will write to it. Should this be split up into two operations where the fisst one is executed during a read phase and the second one during a write phase? Or does “read” only apply to measuring distance, colors, values, etc.?