DEV Community

Discussion on: Let's Take a Look at CSS in JS with React in 2019 - React-JSS

Collapse
 
dance2die profile image
Sung M. Kim

Does JSS use SCSS style syntax?
I see some SASS-style nesting and & to refer to the current element but unable to find a documentation on it.

Collapse
 
phizzard profile image
Phil Tietjen

Hey Sung,

Thanks for commenting!

You may have to go digging through the JSS plugin doc pages to see exactly what kind of syntax is offered.
I believe all the official plugins are included in the default preset so React-JSS should have access to that functionality.

In there are some SCSS nested like syntax and more! Was there specific functionality you were looking for?

Collapse
 
dance2die profile image
Sung M. Kim

Thank you for the follow-up, Phil.

I am not looking for a specific functionality, but was interested in whether I could convert existing SCSS styles directly to JSS with ease.

And forgot to mention, nice visuals with Tengen Toppa Gurren Lagann. (want to watch it again 🙂).