Earlier quoted context omitted.
That's not at all disingenuous; the two are completely unrelated. :) 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. In this case I didn't think the extra work required to wrap the DOM API for cursor position would be worth the trouble. That's certainly not an endorsement…
> "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." > "Local component state is the new two-way data binding. . . If you listen to people who have spent a lot of time with both systems, what you hear are a lot of single state atom converts and not a lot of people saying "y…
In bullet points:
1. Yesterday someone presented a case where they needed to interact with a DOM API that used local state.
2. I didn't think it would be worth the trouble to wrap that API.
3. That is not an endorsement of local component state.
Hopefully that clears things up. :)