News for hackers. Stuff that matters.
Re:React is a fractal of bad design by scotty79 on Wednesday March 08, 2023 @06:22AM (#35067706)
React just went for JS naming of the attributes instead of html naming of the attributes. Reasonable, if annoying, choice.
Re:React is a fractal of bad design by mattigames on Wednesday March 08, 2023 @08:13PM (#35077120)
False, for a lot of attributes you have to use the HTML naming of the attributes, so is not consistent, for example to use aria-label you have to write it exactly like that (not ariaLabel as when using JS)
Re:React is a fractal of bad design by scotty79 on Wednesday March 08, 2023 @11:17PM (#35078277)
aria-* and data-* apparently are the exception

More on that: https://stackoverflow.com/questions/52398380/why-react-wai-a...