CW: Tailwind CSS. Anyone who mansplains Tailwind to me will be immediately blocked, no joke
@Robb @michelle That's a red flag to me: devs (or dev companies) that don't care about fellow devs.
As a freelancer, when being hired as an outsource, I ask if the company has a stack or standards to follow.
In doubt, I go vanilla as much as possible.
When employed, I always encouraged managers to check with design/dev teams before outsourcing. But, who listens to me? 🤔 😂
@michelle quick re-writing the draft of my book:
"My point is that when evaluating the use of a dependency that has such a large reach within a project, it’s wise to also consider what happens when that dependency is no longer useful to us, or when a new release contains significant breaking changes that it might necessitate a large refactor to keep our project up to date. This is true of JS dependencies as well as CSS frameworks."
🔥
@michelle my knowledge of Tailwind is limited to playing a bit with the demos on their website and being blasted by the tailwind evangelism strikeforce on Twitter, but does it provide any real advantages over a few sensible conventions + CSS variables?
If you’re going to use web-components (and I do) then css-variables are the shit anyway so…
@michelle yes, I completely agree.
I’m still trying to think of a really compelling use for container queries not just related to size breaks (which are compelling enough…) since typically things being present or not tends to involve code and that code can make simple changes anyway.
@michelle “Un-Tailwinding” what a wonderful word creation! <3
Great post!
@michelle this is really great. I think a big problem with any library is that people use it as much as possible instead of as much is needed.
Also…people are mansplaining TW? Those dudes need to get a life
@michelle On the specific issue, could it be related to a limitation of the polyfill with a particular setup of your project?
> The polyfill currently only supports <style> and same-origin <link> elements.
It's quite frequent to see CSS served from a different domain than the HTML.