Software engineer working in various web based technologies: Angular2+, NodeJS, React, Ruby on Rails. Previously worked in embedded environment and C/C++ domain
I am sorry that you are finding TWCSS a bit difficult to integrate with directives. But why would I want to use CSS in JS in the first place? TWCSS is a CSS in the first place, looking at your review one might think you feel the same for the SASS as well...TWCSS miht have its downsides for sure but it is certainly not a directive creation. I have been working with TWCSS for a long time now and did not find any major flaw, and to sum up it seems you haven't been using it very thouroughly to give a honest review. I mean even in the official tutorials creator suggests to create own directives so that the code is more readable, and to use it directly in the html for quick tweaks. And e.g. even if you have a long string of css classes in the html, once you are done with cssing you can extract it without any pain. I am not a TWCSS advocate, even if I have written 2 articles about TWCSS, but I did not read here any concrete downside.
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
I am sorry that you are finding TWCSS a bit difficult to integrate with directives. But why would I want to use CSS in JS in the first place? TWCSS is a CSS in the first place, looking at your review one might think you feel the same for the SASS as well...TWCSS miht have its downsides for sure but it is certainly not a directive creation. I have been working with TWCSS for a long time now and did not find any major flaw, and to sum up it seems you haven't been using it very thouroughly to give a honest review. I mean even in the official tutorials creator suggests to create own directives so that the code is more readable, and to use it directly in the html for quick tweaks. And e.g. even if you have a long string of css classes in the html, once you are done with cssing you can extract it without any pain. I am not a TWCSS advocate, even if I have written 2 articles about TWCSS, but I did not read here any concrete downside.