Re:The rise of React
by kgin on Sunday May 31, 2020 @02:26PM
(#23371482)
The idea that HTML was meant to be a pure data format, styled by CSS classes that also were somehow part of that pure data format was always silly, but it became much more silly once REST apis became popular.
[ Parent
| on HN ]
Re:The rise of React
by andrekandre on Sunday May 31, 2020 @03:37PM
(#23372028)
maybe its "ivory-tower thinking" in the end... that idea alwasy appealed to me to he honest... i guess the thing is its only one small facet of web development, not the whole thing
Same here, I spent so much time making semantic html that felt great but in the end was never consumed semantically by anyone or anything.
Only benefit I get out of keeping my HTML semantic these days is that using 1 div instead of 10 has a big impact on UI performance. Draw fewer DOM nodes is still one of the best bang for buck optimisations you can do.
Semantic HTML is a pretty important part of making your site accessible. Screen readers have likely consumed that HTML plenty of times.