today i learned Chrome thinks React offers « flexible and powerful DOM manipulation »
https://developer.chrome.com/docs/web-platform/deprecating-xslt
@aescling they are pretty explicit that sending XML over the wire is not “modern web development” and so should not be supported
@u2764 well modern web development is shipping 50 billion tons of client side javascript with every request so
@aescling yes, and?
@u2764 “not modern web development (derogatory)” is not exactly a meaningful criticism to me, is my point
@aescling unfortunately i don’t think the Chrome team knows or cares what is a meaningful criticism to you
@aescling i think anything that involves a TreeWalker is verbose
in this particular case you could get away with querySelectorAll or getElementsByTagName but that isn’t generalizable to an average XSLT transform
but this is an arbitrary example; the point is that React cannot do any DOM manipulation, including trivial
the chrome devs do not think you would want to use React for this; they do not see this as a legitimate usecase for web browsers. they believe that DOM documents should only ever be the outputs of functions, never the inputs