Re:CSS in JavaScript is like replacing a broken screwdriver ...
by codegeek on Monday September 11, 2017 @11:40AM
(#15219334)
I am really digging Vuejs and its single file components. The <style scoped> part makes it even better for me. No more searching through codebase for where the css came from vs. where the JS is coming from.
[ Parent
| on HN ]
Re:CSS in JavaScript is like replacing a broken screwdriver ...
by madeofpalk on Monday September 11, 2017 @01:18PM
(#15220208)
Just going to chime in with 'CSS Modules' - this approach of scoped-css generalised to use with whatever framework (but most commonly, React)
Re:CSS in JavaScript is like replacing a broken screwdriver ...
by orillian on Monday September 11, 2017 @02:09PM
(#15220696)
I'm going to nth this! I really enjoy Vue's way of managing these separate but together.
Re:CSS in JavaScript is like replacing a broken screwdriver ...
by Barreljack on Monday September 11, 2017 @11:41AM
(#15219342)
Agreed. I really enjoy the way Vue handles this.