You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After fighting with HMR and css-modules, I see why upstream went ahead and created styled components. Originally I was against it, due to lack of IDE support. It appears I'm just rehashing an already researched and thought out topic, as I'm starting to get interest in the simplicity styled components offers. The only question is what would fit best with a typescript code base.
I like the ideas of having modules, but can't live without syntax highlighting / linting / auto-completion.
After fighting with HMR and css-modules, I see why upstream went ahead and created
styled components
. Originally I was against it, due to lack of IDE support. It appears I'm just rehashing an already researched and thought out topic, as I'm starting to get interest in the simplicity styled components offers. The only question is what would fit best with a typescript code base.I like the ideas of having modules, but can't live without syntax highlighting / linting / auto-completion.
follow upstream and use styled-components?
(until a plugin for intellij is made) this is possible:
styled components
css rules?change it up and try react-css-modules?
pros:
cons:
stick with css-modules/postcss-modules?
The text was updated successfully, but these errors were encountered: