loading...

re: 5 reasons to go with CSS in JS for your next application VIEW POST

FULL DISCUSSION
 

I would never put my css into components so they grow as hell. Why should i do it?
Also zero linting and intelesence. Who invented this and why?

 

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

 

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
Code of Conduct Report abuse