Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
dvkndn3
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
5 ms
·
1.
▲
by
dvkndn3
7y ago
`toString()` actually works here :D
2.
▲
by
dvkndn3
7y ago
There are many reasons actually: First is because I don't want to return a string as soon as you apply a value like "textRed()", because it prevents chaining, or I need to add those methods to the String prototype (right?). T
3.
▲
by
dvkndn3
7y ago
> And why would you think a typed system over a CSS framework is a good idea? It's not just any CSS framework, but only utilities-based ones. In my opinion, CSS should not be complicated. They should only be tools to decorate thing
4.
▲
by
dvkndn3
7y ago
I really enjoy the static typing TypeScript brings to JS, and it always annoys me that I can't have the same in CSS. When Tailwind makes utilities-first CSS great again, I see that's when I can fill the missing piece and finally b
5.
▲
Brings TypeScript to Tailwind CSS
(github.com)
7 points
by
dvkndn3
7y ago
|
8 comments