Browse Source

Remove outdated comparison

main
Dan Abramov 4 years ago
committed by GitHub
parent
commit
1cc8aa3f03
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      content/docs/faq-styling.md

2
content/docs/faq-styling.md

@ -42,7 +42,7 @@ CSS classes are generally better for performance than inline styles.
### What is CSS-in-JS? {#what-is-css-in-js}
"CSS-in-JS" refers to a pattern where CSS is composed using JavaScript instead of defined in external files. Read a comparison of CSS-in-JS libraries [here](https://github.com/MicheleBertoli/css-in-js).
"CSS-in-JS" refers to a pattern where CSS is composed using JavaScript instead of defined in external files.
_Note that this functionality is not a part of React, but provided by third-party libraries._ React does not have an opinion about how styles are defined; if in doubt, a good starting point is to define your styles in a separate `*.css` file as usual and refer to them using [`className`](/docs/dom-elements.html#classname).

Loading…
Cancel
Save