DEV Community

loading...

Discussion on: Possibly the Most Useful CSS Trick

Collapse
lishine profile image
Pavel Ravits

All the Css people :) won't love what I say.
My opinion, state should stay in the JavaScript realm as much as possible. State should be in one place!
It is ashame that css state is even promoted as a good thing. When a Js developer comes to develop feature, he will be surprised to find state in Css left there by a loving Css developer. And then, he will have to live with it or migrate it to Js.