</sarcasm>
</sarcasm>
Imagine this working for classNames, cross-referencing dom ids,…
Could help avoid a lot of issues
Imagine this working for classNames, cross-referencing dom ids,…
Could help avoid a lot of issues
Wpis z konkretnym porównaniem i przykładami z Reacta 👇
👉 https://programistka.com/classnames-vs-clsx-dlaczego-przesiadlam-sie-na-clsx/
#React #JavaScript #WebDev
programistka.com/classnames-v...
Wpis z konkretnym porównaniem i przykładami z Reacta 👇
👉 https://programistka.com/classnames-vs-clsx-dlaczego-przesiadlam-sie-na-clsx/
#React #JavaScript #WebDev
programistka.com/classnames-v...
It's all about marketing, I guess.
Semantic classnames combined with utility classes: Bootstrap :-)
It's all about marketing, I guess.
Semantic classnames combined with utility classes: Bootstrap :-)
Rolldown build time went from 1.5s to 17s 😭
Main bundle went from 1M to 1.3M 😱
I'm diffing the bundle and one reason seems to be that the compiler rewrite calls to my classNames util 🤦♂️
playground.react.dev#N4Igzg9grgTg...
Rolldown build time went from 1.5s to 17s 😭
Main bundle went from 1M to 1.3M 😱
I'm diffing the bundle and one reason seems to be that the compiler rewrite calls to my classNames util 🤦♂️
playground.react.dev#N4Igzg9grgTg...
tailwindcss.com/docs/detecti...
tailwindcss.com/docs/detecti...
bundle-size for atomic CSS vs not atomic CSS for a 200 pages site is insane
Each page increases the bundle for all page's styles (all classnames must be pushed). In atomic, the increase is just "the new properties" (if any)
x.com/davesnx/sta...
bundle-size for atomic CSS vs not atomic CSS for a 200 pages site is insane
Each page increases the bundle for all page's styles (all classnames must be pushed). In atomic, the increase is just "the new properties" (if any)
x.com/davesnx/sta...
All of which probably sounds very confusing to most folks, but trust me, will be a special tool to help me later.
All of which probably sounds very confusing to most folks, but trust me, will be a special tool to help me later.
There’s also something to be said for beautiful, semantic, handcrafted markup and classnames.
But, I am getting gray hairs so am undoubtedly set in my ways.
There’s also something to be said for beautiful, semantic, handcrafted markup and classnames.
But, I am getting gray hairs so am undoubtedly set in my ways.
I forked a sandbox the other day and spent a few minutes wondering why my classNames weren’t working 😖
I forked a sandbox the other day and spent a few minutes wondering why my classNames weren’t working 😖