Re:Why I left React for Vue
by molszanski on Tuesday December 25, 2018 @10:55PM
(#18760398)
What are your gripes?
[ Parent
| on HN ]
I’ve found doing CSS in JS to be a bit awkward. The fancier CSS grid syntax is a good example of CSS that’s awkward to write in JSON. styled-components lets me use normal CSS syntax in a natural way alongside JSX code.
Re:Why I left React for Vue
by molszanski on Tuesday December 25, 2018 @11:23PM
(#18760499)
What "CSS in JS" you where using before? JSS?
Mainly I was just using react’s native support for passing styles as JSON objects.
Re:Why I left React for Vue
by molszanski on Wednesday December 26, 2018 @12:30AM
(#18760764)
Oh. Now I understand. Yeah, that makes a lot of sense.