That&#x27;s not at all disingenuous; the two are completely unrelated. :)<p>The DOM uses local state extensively, and sometimes you need to interact directly with its API. When you do, you can either do more work to translate it into your preferred architecture, or not.<p>In this case I didn&#x27;t think the extra work required to wrap the DOM API for cursor position would be worth the trouble.<p>That&#x27;s certainly not an endorsement of the DOM&#x27;s architecture. ;)