Browse Source

treat className+*.css as default styling approach

main
Alex 7 years ago
committed by GitHub
parent
commit
d739beef67
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

@ -44,7 +44,7 @@ CSS-in-JS refers to a pattern where CSS is written with Javascript, then extract
[Comparison of CSS-in-JS Libraries](https://github.com/MicheleBertoli/css-in-js)
_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, define your styles in a separate `*.css` file and refer to them using [`className`](/docs/dom-elements.html#classname).
_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, define your styles in a separate `*.css` file as usual and refer to them using [`className`](/docs/dom-elements.html#classname).
### Can I do animations in React?

Loading…
Cancel
Save