logoalt Hacker News

zarzavatyesterday at 7:58 PM1 replyview on HN

To be honest HTML is a pain.

For example the HTML approach to style parts of a control is to use pseudoclasses. Sometimes the selectors are different across browsers! Then you have to test across browsers because who knows if it will actually work correctly.

React is not just easier it's more dependable. If I make something with React and some divs I know it's going to work the same in all browsers.


Replies

recursiveyesterday at 10:40 PM

The selectors are not different. Whatever problems you have applying styles to html elements also exist in react.