What else CSS needs for you to remove CSS-in-JS and other non-CSS ways of writing CSS?
https://blog.logrocket.com/css-scope-replace-bem/
https://blog.logrocket.com/css-scope-replace-bem/
LogRocket Blog
How CSS @scope can replace BEM - LogRocket Blog
Learn about the new CSS @scope feature coming in Chrome 118, which may potentially replace BEM with a cleaner, more ergonomic syntax.
👍1
Forwarded from UfoStation
Advent of TypeScript
Набор заданий type challenge для TypeScript, который будет открывать по одной задаче в день с 1-ого по 25-ого декабря и может послужить отличным поводом или дополнительно попрактиковаться, или изучить работу типов в языке.
Набор заданий type challenge для TypeScript, который будет открывать по одной задаче в день с 1-ого по 25-ого декабря и может послужить отличным поводом или дополнительно попрактиковаться, или изучить работу типов в языке.
👍6
You’re a React / Next.js dev. How you name your component files?
Anonymous Poll
60%
PascalCase
28%
kebab-case
11%
other (I’m a creep, I’m a weirdo, what the hell am I doing here)
zaff.dev
You’re a React / Next.js dev. How you name your component files?
And comment why, if possible, please
zaff.dev
You’re a React / Next.js dev. How you name your component files?
I am used to kebab-case for the last 4-5 years. Because a while ago Git was not able to track filename changes, if you only change the letter cases.
E.g:
This, in turn, would cause your imports fail to resolve, on whatever env you clone your repo 🙂
E.g:
header.js > Header.js would cause, that in your FS you would have new name for the file (`Header.js`), but you would still commit header.js. This, in turn, would cause your imports fail to resolve, on whatever env you clone your repo 🙂
zaff.dev
I am used to kebab-case for the last 4-5 years. Because a while ago Git was not able to track filename changes, if you only change the letter cases. E.g: header.js > Header.js would cause, that in your FS you would have new name for the file (`Header.js`)…
Seems like there was always an option to solve it.
But when you face it for the first time, it's really hard to notice what's the problem 🙂
But when you face it for the first time, it's really hard to notice what's the problem 🙂
I am starting to work on a new project. So I think I'll be gathering a lot of opinions in next posts.
My previous project lasted for around 2 years, and there was not much freedom in terms of choices.
If you start a new Next.js project, what would you choose to write styles?
I am considering tailwindcss.com + cva.style
I need something:
1. Three-shakeable
2. Does not require JS in runtime
3. Composable + safe at the same time
CVA seems to provide the safety and composability, but it's still beta. So I'm worried a bit :)
My previous project lasted for around 2 years, and there was not much freedom in terms of choices.
If you start a new Next.js project, what would you choose to write styles?
I am considering tailwindcss.com + cva.style
I need something:
1. Three-shakeable
2. Does not require JS in runtime
3. Composable + safe at the same time
CVA seems to provide the safety and composability, but it's still beta. So I'm worried a bit :)
Интересный взгляд на рынок со стороны
https://youtu.be/I_R-e_E1TVI?si=NamALlM2uF_Uy29I
https://youtu.be/I_R-e_E1TVI?si=NamALlM2uF_Uy29I
YouTube
Есть ли IT в Центральной Азии? Межсезонье
Чем отличается IT в России и Европе от Центральной Азии? Почему IT там развивается быстрее? И как стать CTO в другой стране, не зная языка?
В первом выпуске межсезонья Семён, Олег, Никита и Дима обсуждают особенности центральноазиатского IT. Помогает им…
В первом выпуске межсезонья Семён, Олег, Никита и Дима обсуждают особенности центральноазиатского IT. Помогает им…
If you are still not using Arc on Mac, then do, and let me open those new icons
https://arc.net/gift/4d521bd4
https://arc.net/gift/4d521bd4
arc.net
A friend is sharing Arc with you!
Experience a calmer, more personal internet in this browser designed for you. Let go of the clicks, the clutter, the distractions.
fyi: my new favorite theme is catppuccin mocha
p.s. jetbrains mono font is so clean, using since release, can’t believe switching to any other font anytime soon
p.s. jetbrains mono font is so clean, using since release, can’t believe switching to any other font anytime soon
❤1