Re:React Fire: Modernizing React DOM
by wLMeOv2qjsFOjZG on Saturday September 01, 2018 @12:35AM
(#17890225)
But both class and className are camelCased.
Re:React Fire: Modernizing React DOM
by chrisweekly on Saturday September 01, 2018 @07:34PM
(#17894479)
I don't understand the "but" in your uncontroversial comment.
Re:React Fire: Modernizing React DOM
by wLMeOv2qjsFOjZG on Sunday September 02, 2018 @04:04AM
(#17896127)
It seemed to me that the paragraph you quoted does not much illuminate why one should choose for one or the other.
>"I think this is the primary reason it's desirable for props like tabIndex, cellSpacing, and most other DOM-related props to follow the camelCase convention. It's not because they're DOM property names. It's because they often end up in component APIs. And we want component APIs to be consistently camelCase."