DEV Community

Discussion on: 5 reasons to go with CSS in JS for your next application

Collapse
 
rleija_ profile image
Ruben

You don't get linting or intellisense in traditional CSS anyways, so... By the way, why not? If it works it works...

Collapse
 
naxos84 profile image
Matthias • Edited

Well IntelliJ Idea checks your csss.

.myClass {
  display: blocks; <-- error is shown
}

whereas

<style jsx>{`
  .myClass {
    display: blocks; <-- no error shown (cause it is just a 'string')
  }
`}</style