News for hackers. Stuff that matters.

samuelstancl

Re:Pfizer board member suggests end to mask, vaccine mandates on Thursday January 27, 2022 @07:38AM (#30099784)
> If anecdotally there doesn't appear much difference in your circle, that's much weaker evidence

You can't compare studies looking at the population average with someone's specific social circle. Young people have a near-zero chance of getting severe disease anyway.

"substantial protection against severe disease with omicron" is irrelevant when the chance of severe disease is so low.

Re:TailwindCSS v2.0 on Thursday November 19, 2020 @06:28AM (#25148436)
Ah yes, few users. Which is why this post was on top of HN frontpage.

And yes, definitely it's just that it changed the development workflow slightly, not at all that it brings new possibilities and a much better developer experience.

Re:TailwindCSS v2.0 on Thursday November 19, 2020 @03:04AM (#25147243)
Sure, you may have to use @apply if you're for example adding Tailwind to an existing project with .css files.

But the right/ideal way to use Tailwind is to use components. That way you get the most dev ex that Tailwind can provide.

Re:TailwindCSS v2.0 on Wednesday November 18, 2020 @03:20PM (#25141922)
> It lets you move all of those excessive class attributes into your CSS, where it realistically belongs

No. Adam said multiple times that he basically added the feature to make onboarding people smoother.

The right way to use Tailwind is to extract components, for example in Vue.

That way you have the markup, behavior, and styling in self-contained in a single file, that can be used anywhere, without leaking any internal implementation details.

Thank you!
Thanks!