The React style guide is quite outdated, mostly talking about class components while we almost exclusively use function components. Even React.createClass is mentioned in a way that makes it seem almost relevant 😄
To match what we actually do in React code, the guide would basically need to be rewritten from scratch.
As that's a larger undertaking, I propose we remove it for now.
Otherwise developers new to React might find it and assume the information is relevant.
I'm not sure if we use CSS-in-JavaScript somewhere, but if not, we should probably remove that guide as well.
The React style guide is quite outdated, mostly talking about class components while we almost exclusively use function components. Even
React.createClass
is mentioned in a way that makes it seem almost relevant 😄To match what we actually do in React code, the guide would basically need to be rewritten from scratch.
As that's a larger undertaking, I propose we remove it for now. Otherwise developers new to React might find it and assume the information is relevant.
I'm not sure if we use CSS-in-JavaScript somewhere, but if not, we should probably remove that guide as well.