React-Select styling options and performance. #4765
Unanswered
crowd-dong
asked this question in
Q&A
Replies: 1 comment
-
Probly best to use inline styles only when there is a boolean style change like your example. Everything else is best in a stylesheet when it comes to returning for later changes. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Is there any performance gains between the different methods to style react-select?
Such as..
VS.
just providing a
classNamePrefix
and using a separatescss
file to style.Or is this just a matter of preference
Beta Was this translation helpful? Give feedback.
All reactions