Ivan Reese
Squirrel
04/04/2024, 10:17 PMJoshua Horowitz
04/04/2024, 10:30 PMSquirrel
04/04/2024, 11:01 PMIvan Reese
Ivan Reese
Joshua Horowitz
04/05/2024, 2:51 AMIvan Reese
Jeffrey Tao
04/05/2024, 4:23 AMKonrad Hinsen
04/05/2024, 5:47 AMKonrad Hinsen
04/05/2024, 6:29 AMSquirrel
04/05/2024, 7:37 AMI believe the point is to turn the DOM into an optional module. If you're making a website that is structured, you'd probably still want to use the DOM.I think proposal means that the DOM is going away. People are not making plain old websites anymore. They're throwing in at least some React even if they're making something simple. React is a weird thing that shouldn't have to exist. It takes an internal single-use DOM and translates it to commands to manipulate the external long-lived DOM that React developers don't want to touch. This translation is a lot of complexity and very very leaky abstraction that exists for no reason other than backwards compatibility. Instead of doing this unnecessary translation, every framework is going to make their own stateless immediate mode renderer, say they had to do so as to free developers from having to deal with different bugs in different DOM implementations, and then say that you can use the same renderer both for native apps and for the web, and that by the way, their own renderer runs 10x faster on every benchmark.
Squirrel
04/05/2024, 7:54 AMWhat would abandoning the DOM mean for search engines?? Anyway, just use Aria.
Web scraping in general?Just use Aria somehow.
Element-based ad blocking?Use Aria. Another interesting approach would be to make a tracing Wasm interpreter that can determine which pixel on the screen was derived from which byte received from an ad server and can automatically find all relevant Wasm code on the way from the ad server to the pixel so it can be disassembled and patched.
And the inspectability of websites via browser dev tools?Every framework is going to add dev tool interoparability just as hardware manufacturers add Jtag.
Dennis Hansen
05/07/2024, 11:03 PM