The New TailwindCSS Looks Promising

  Рет қаралды 31,986

Josh tried coding

Josh tried coding

Күн бұрын

A few days ago, tailwindcss released their 4.0 preview. It's already available to play around with, so let's see what changed and how it tries to be better than previous versions.
-- sources
v4 announcement: tailwindcss.com/blog/tailwind...
-- my links
saas: www.animate-code.com/
newletter: www.joshtriedcoding.com/
discord: / discord
github: github.com/joschan21

Пікірлер: 39
@BeyondLegendary
@BeyondLegendary 2 ай бұрын
Impressive, very nice. Let's see Paul Allen's css framework.
@Shura-yd4jq
@Shura-yd4jq 2 ай бұрын
Look at that subtle off-white coloring. The tasteful thickness of the font. Oh my god! It even has hover effects.
@regexPattern
@regexPattern 2 ай бұрын
To be fair, those 53MB that the engine weights, are mostly from the oxide/creates/core/benches folder, which is a bunch of HTML files that weight around 52MB when added up. That means that the engine itself weights around 1MB (worth of source files).
@rainstorm4161
@rainstorm4161 2 ай бұрын
If Tailwind CSS had a feature that allowed you to combine multiple utility classes into a single, compact syntax inside the class attribute, like this: lg:[bg-red-100 text-black] instead of lg:bg-red-100 lg:text-black, it would be awesome.
@mkvetny
@mkvetny 2 ай бұрын
that's not really possible without framework integration with something like webpack, which adds a lot of complexity
@rainstorm4161
@rainstorm4161 2 ай бұрын
@@mkvetny I understand complexity is a concern. However, if Tailwind offered a way to combine utilities, the potential benefits like cleaner HTML and easier maintenance could outweigh the added setup. Perhaps a future version could find a balance between simplicity and this kind of functionality.
@mkvetny
@mkvetny 2 ай бұрын
@@rainstorm4161 if that's what you want you should take a look at unoCSS
@faraonch
@faraonch 2 ай бұрын
Fantastic and nice summary. Comes at the right time while I started implementing a theming concept in a bigger corporate project.
@rayusaki88
@rayusaki88 2 ай бұрын
Definitely a step in the right direction! Thanks for sharing your thoughts Josh!
@ernst367
@ernst367 2 ай бұрын
Hmm...some great changes coming here. Thanks Josh
@jeresalem
@jeresalem 2 ай бұрын
In development Lightning CSS typically runs on every change, not just once, so being fast there is great.
@inderjotsingh5868
@inderjotsingh5868 2 ай бұрын
Runs to do what ?
@XTANCE
@XTANCE 2 ай бұрын
@@inderjotsingh5868 to run of course.
@adrian34234
@adrian34234 2 ай бұрын
Globals.css appealed to me the most, as well as the quick configuration, but we will see in what direction it will ultimately go, thanks josh for another concrete episode without too much prolongation
@HarshalHirve555
@HarshalHirve555 2 ай бұрын
Thank you for all your videos. They help us a lot in understanding what's going in the IT space. A request, can you please make few videos on how to make Micro Frontends using React & Next.js in 2024 ( I mean CSR MFs & SSR MFs)
@mohitcodeswell
@mohitcodeswell 2 ай бұрын
Slow? -> Rust -> 💥 Fast!!! -> Oh build time 💀
@rjwhite4424
@rjwhite4424 2 ай бұрын
how is this going to effect NextUI. I really like that library. It's like MUI meets Tailwind
@mikelCold
@mikelCold 9 күн бұрын
Build speed is important for iteration time, especially as development time increases (AI code). It is weird how the rust world is overshadowing the ts/js world. Why are the node/typescript people not making their compilers super fast so we don't need to use another tool?
@internetexplorer7880
@internetexplorer7880 2 ай бұрын
Noticed you didn't get autocompletion for your custom color, will that be the new way of doing things?
@ivangechev4243
@ivangechev4243 2 ай бұрын
When you said v4 I thought about v-for in Vue :D
@helleye311
@helleye311 2 ай бұрын
Skipping tailwind.config will be huge. That was my main issue with shadcn so far (obviously I still used it cuz it's just so darn good, but making a full custom theme was a no go for me) I don't really care about build time, but I mean, not gonna complain either. Good stuff. Now the only thing I want is making a , declaring the colors with concrete types or some other way like that. And then do className={`bg-${colorScheme}-300 border-${colorScheme}-500`} CVA made it a lot easier to do full color schemes like this, but you still need to manually type out the classes so tailwind knows they're used and should be included in the bundle. Or manually include them in the config file. If that ever gets done I'll never even look at another styling framework again.
@RhythmRift74
@RhythmRift74 2 ай бұрын
hmmm so there is no more tailwind config file ?
@bcb3548
@bcb3548 2 ай бұрын
Looks pretty impressive! Great round up.
@GamerSharp
@GamerSharp 2 ай бұрын
good changes
@ShoterOTP
@ShoterOTP 2 ай бұрын
Glad I haven't switched to StyleX when they hyped it up.
@Jackson_Zheng
@Jackson_Zheng 2 ай бұрын
Looks neat...but hate having to migrate in just a few months.
@koltuz
@koltuz 2 ай бұрын
ok, i like this
@mattd5419
@mattd5419 2 ай бұрын
I'm migrating to v4 only when shadcn will
@abakah
@abakah 2 ай бұрын
Did I hear you say chief 😂
@sammaxjorden
@sammaxjorden 2 ай бұрын
Ok
@naranyala_dev
@naranyala_dev 2 ай бұрын
tanstack, tanstack, tanstack
@TheOnlyJura
@TheOnlyJura 2 ай бұрын
new tailwind looks promising? does that mean the previous version was absolute trash? you really are just a masked junior
@danko95bgd
@danko95bgd 2 ай бұрын
yes it was trash just like the current one and every next one they release
@Houseofstartup
@Houseofstartup 2 ай бұрын
hmm nothing big....
@coolemur976
@coolemur976 2 ай бұрын
But does it give you pleasure?
@Houseofstartup
@Houseofstartup 2 ай бұрын
@@coolemur976 nope
@coolemur976
@coolemur976 2 ай бұрын
@@Houseofstartup That's what she said
@rayyanabdulwajid7681
@rayyanabdulwajid7681 2 ай бұрын
In tailwind, we are basically writing vanilla css. Therefore it absolutely sucks. Vanilla css is mich better
@unforgettable31
@unforgettable31 2 ай бұрын
Tell me you don't use tailwind before telling me you don't use it.
Tailwind V4 Is Bigger Than Expected 👀
20:07
Theo - t3․gg
Рет қаралды 117 М.
Tailwind CSS V4 is SO Good!
8:51
Frontend FYI
Рет қаралды 31 М.
КАРМАНЧИК 2 СЕЗОН 5 СЕРИЯ
27:21
Inter Production
Рет қаралды 568 М.
WHY DOES SHE HAVE A REWARD? #youtubecreatorawards
00:41
Levsob
Рет қаралды 32 МЛН
I Never Want to Write Tailwind Any Other Way
7:01
Josh tried coding
Рет қаралды 37 М.
The Problem With UUIDs
6:36
Josh tried coding
Рет қаралды 67 М.
I Feel Bad For New Programmers
19:12
ThePrimeTime
Рет қаралды 406 М.
Use these instead of vh
6:06
Kevin Powell
Рет қаралды 449 М.
This UI Library Keeps Crushing It
4:36
Josh tried coding
Рет қаралды 64 М.
We Need to Talk About Redis.
14:55
Josh tried coding
Рет қаралды 87 М.
I WISH I Knew These Tailwind Tips Earlier
9:15
Theo - t3․gg
Рет қаралды 166 М.
How the PROS Use Tailwind
9:55
Frontend FYI
Рет қаралды 41 М.
👎Главный МИНУС планшета Apple🍏
0:29
Demin's Lounge
Рет қаралды 483 М.
📱 SAMSUNG, ЧТО С ЛИЦОМ? 🤡
0:46
Яблочный Маньяк
Рет қаралды 1,7 МЛН
Power up all cell phones.
0:17
JL FUNNY SHORTS
Рет қаралды 48 МЛН