4 ms·
Agreed. I’ll take a more controversial stance that I’ve said here before: CSS/HTML are part of the problem and the community should have invested in proper UI/r
by jacobsimon 2y ago
Agreed. I’ll take a more controversial stance that I’ve said here before: CSS/HTML are part of the problem and the community should have invested in proper UI/rendering frameworks a long time ago that weren’t designed around the quirks of HTML and CSS. Building an accessible canvas-based UI with a React-like API would make a lot more sense for SPAs, and maybe other types of websites too.
- stevenpetryk 2y agoCanvas is a blank slate to screen readers though.
- jacobsimon 2y agoYeah that’s what I meant by accessible, agree it’s a problem today
- egeozcan 2y ago> Building an accessible canvas-based UI with a React-like API would make a lot more sense for SPAs https://github.com/Flipboard/react-canvas https://github.com/Flipboard/react-canvas React is the Simpsons of web tech (Referring to the "Simpsons did it meme" if that wasn't clear).
- jacobsimon 2y agoThanks this is really close to what I was imagining, but looks like it’s been inactive for a long time.
- egeozcan 2y agoYes, the reactions to it were not very enthusiastic as you'd expect. Also it did have a11y issues. There are a lot of interesting renderers for react, some of them are even maintained: https://github.com/chentsulin/awesome-react-renderer https://github.com/chentsulin/awesome-react-renderer