News for hackers. Stuff that matters.
Re:CSS: The bad bits and how to avoid them by talmand on Wednesday March 21, 2018 @05:45PM (#16642707)
What was ReactJS doing a few years ago that was wrong then but correct now? Since I don't know what that is, did the spec change during that time?

As far as I know right now, custom attributes goes against the html standard.

Re:CSS: The bad bits and how to avoid them by RobertRoberts on Thursday March 22, 2018 @09:10PM (#16654229)
>What was ReactJS doing a few years ago that was wrong then but correct now?

Inline styles for one... created with javascript no less. This was totally verboten not long ago. But then became a "best practice" only because React started doing it.

Re:CSS: The bad bits and how to avoid them by talmand on Friday March 30, 2018 @01:14PM (#16717906)
I disagree, inline styles is never a "best practice" no matter what the reason or who does it. It happens from time-to-time due to necessity, but that doesn't make it best practice. In this case, React is simply doing it wrong.