Tailwind V4 Is Bigger Than Expected 👀

  Рет қаралды 116,742

Theo - t3․gg

Theo - t3․gg

Күн бұрын

Tailwind v4 is very exciting, even if I ran into some issues while playing with it here. Really excited to see them embracing a truly config-free solution and leaning into CSS standards more
SOURCE
tailwindcss.com/blog/tailwind...
Check out my Twitch, Twitter, Discord more at t3.gg
S/O Ph4se0n3 for the awesome edit 🙏

Пікірлер: 165
@ts8960
@ts8960 2 ай бұрын
i like how rust developers exist just to take all the pain and give better DX to javascript developers lol
@Flackon
@Flackon 2 ай бұрын
Writing JS is its own pain
@anonymousalexander6005
@anonymousalexander6005 2 ай бұрын
Delayed pain vs delayed gratification. All the kids use JS, all the femboys use Rust 😎.
@coolemur976
@coolemur976 2 ай бұрын
@@anonymousalexander6005 Dude just called whole IT industry a 'kid'
@Justcallmelouis
@Justcallmelouis 2 ай бұрын
It’s a food chain 😅
@AndrieMC
@AndrieMC 2 ай бұрын
​@@anonymousalexander6005bro just called all the youtube, twich, microsoft, google, etc etc website developers kids
@rand0mtv660
@rand0mtv660 2 ай бұрын
I think Devon Govett, the creator of Parcel and Lightning CSS does not get the praise he deserves. It's amazing what he can do. He is also working on React Aria and React Spectrum. Basically he is a 10x developer for real.
@ianchristian23
@ianchristian23 2 ай бұрын
i praise him a lot
@jacksonbourne
@jacksonbourne 2 ай бұрын
Those first paragraphs were definitely not run-on sentences, they flow perfectly fine to be honest.
@miletadulovic577
@miletadulovic577 2 ай бұрын
Love that they are using variables for customization now. Great idea
@dealloc
@dealloc 2 ай бұрын
Yeah, until those tokens are specified in JSON format, e.g. from a node module. Makes it a more cumbersome for that case.
@jacoblockwood4034
@jacoblockwood4034 2 ай бұрын
@@dealloc Well, it's a new version of the Tailwind, and this is a breaking change, so if a node module is exporting their tokens as a node module, they should update to the new version and start exporting as CSS. But yeah I agree it is a bit more inconvenient, that's why there's still support for JS config
@huge_letters
@huge_letters 2 ай бұрын
Curious how you're supposed to do programmatic stuff then - like currently I have a function to generate all the 50-950 color variants for me. How do I do that in css file? Use sass?
@dealloc
@dealloc 2 ай бұрын
@@huge_letters Depends. There are better ways to generate tokens for different formats. One solution is to conform to the Design Token spec and use tools to generate to the desired formats for you. That way you also get two-way integration with design tools like Figma, Sketch, etc. and keep them synced without tying it to specific platforms or formats. For hobby projects that may be overkill, and in such cases I'd either stick with the JS config, or just copy-paste values as-needed, since it's often overkill to spend too much time on these decisions in such cases. I would personally pre-compile colors and tokens (e.g. through a command) and not generate at runtime as it adds overhead for no reason.
@JamesQQuick
@JamesQQuick 2 ай бұрын
Such an exciting release. Can't wait to actually use this!
@royportillo
@royportillo 2 ай бұрын
Very excited to see V4 when it becomes stable. Personally, smoothing out the integration issues with NextJS is where I’m going to look out for. However, everything else you showed here is already very amazing and great move forward.
@snuglife3697
@snuglife3697 2 ай бұрын
I suppose the time has come to abandon my styled components (I'm trapped in a glass case of emotion)
@leotravel85
@leotravel85 2 ай бұрын
I see what you did there
@follantic
@follantic 2 ай бұрын
I remember using Emotion, Styled and Radium all in the same project. With Redux and Mobx of course. I'm older and more scar(r)ed now. Which is why I'm not using Tailwind. It's also why I'm more on the backend these days.
@follantic
@follantic 2 ай бұрын
Radium was the best.
@SpinatMixxer
@SpinatMixxer 2 ай бұрын
I actually use both, tailwindcss for most styling and if I hit a wall I just use emotion js. Not sure how "good" this is tho.
@follantic
@follantic 2 ай бұрын
@@SpinatMixxer If it gets the job done that's pri 1. Pri 2 is whether you'd hate yourself for making a choice 5-10 years from now (abandonment, build tooling evolution, etc). That's why I'm ok with styled-components, but aprehensive about tailwind. While there is an escape hatch (just use the css), it's not ideal. Styled components or React are way safer bets (though I prefer SolidJS).
@mchisolm0
@mchisolm0 Ай бұрын
Would definitely be interested in more coverage of Tailwind v4. Thanks for sharing!
@rand0mtv660
@rand0mtv660 2 ай бұрын
To be honest I never thought Tailwind was slow. Compiling other things in projects will definitely always be slower than Tailwind. Although cannot complain if they are making it even faster. Any performance improvement is welcome.
@ky3ow
@ky3ow 2 ай бұрын
11:20 its not about "state of css tooling", because this should be handled by tailwind language server, so they just have to implement theese diagnostics
@kabukitheater9046
@kabukitheater9046 2 ай бұрын
rust mentioned
@TheStone190
@TheStone190 2 ай бұрын
I'd love to hear more about tailwind
@TurtleKwitty
@TurtleKwitty 2 ай бұрын
Well I'll be damned there's a satisfies keyword in typescript now??? Useful, thanks for the useful bit Theo
2 ай бұрын
Awesome progress!
@MrMoonCraft
@MrMoonCraft 2 ай бұрын
This video was hard to watch. Only a minute in, and you're just complaining about the dudes grammar. I didn't want to watch this video for your opinion on how good this guys english is, I wanted to see what the tailwind release had in store. I won't be watching the rest of your video, thanks for linking the blog post so I can read it myself 👍
@user-xc6ny2re6i
@user-xc6ny2re6i 2 ай бұрын
We need more rust in javascript ecosystem.
@xpk.creative
@xpk.creative 2 ай бұрын
Very promising. I made my own plugins to enable color-mix for alpha channel modification, never liked -color-hsl: 200deg 20% 98% just to get it work with bg-color/50. Looking forward to it
@bugged1212
@bugged1212 2 ай бұрын
A lot of the css var stuff already works in tailwind, you just need to define it in the tailwind config. But yeah, this should make it more transparent.
@flwi
@flwi 2 ай бұрын
Nice! Looking forward to trying this out in my next project. Thanks for sharing! Btw: what browser are you using? I like that the tabs are on the left (and on demand). Allows you to read more of the title when you have lots of them.
@Archikuus
@Archikuus 2 ай бұрын
its arc browser, i tried it but for development it felt terrible
@user-vd3ph6zh8q
@user-vd3ph6zh8q 2 ай бұрын
I literally just started on a project a couple days ago that returns a plugin and twColors and twTokens based on a config in Typescript. Essentially it would turn into the following. Twilight for twilight css, to help with theming like light and dark mode. The plugin would have all your css custom properties for your primitives and themes. Although now that tailwind's gonna be native css custom properties my project might not be needed since you'd be able to just redefine the variables under a media query/selector. one nice thing is with my config you get autocomplete and typesafety. export const { twilightColors, twilightExtends, twilightPlugin } = createTwilight(primitives, themes); import { twilightColors, twilightExtends, twilightPlugin, } from "./twilight-config"; export default { content: ["src/**/*.html"], theme: { colors: { ...twilightColors, }, extend: { ...twilightExtends, }, }, plugins: [twilightPlugin], };
@heinzerbrew
@heinzerbrew 2 ай бұрын
Those don't appear to be run-ons.
@theblckbird
@theblckbird 2 ай бұрын
3:22 keep in mind that they’re comparing their most optimized JS version to their new not that much optimized Rust version!
@radomane
@radomane 2 ай бұрын
I love the improvements to color, that has been a big pain point for me the last 2 years. I would really like to see tailwind moving more towards being more customizable/extensible. I really believe solutions like TailwindUI and shadcnUI are the future. I love using it, but I still have to rewrite a lot of the class names to support our non-standard color theme, spacing and other tweaks. Also customization the Typography(prose) config is fucking impossible. We use a font which requires a different font size, line height and weight than the default, at every size. I’ve spent a couple of hours looking at the source code, but I still can’t get it to work perfectly.
@ThatDereKid
@ThatDereKid 2 ай бұрын
It is not impossible, it is just difficult to find examples online. Mostly because the TW Typography plugin is a completely different use case. You want to use the addUtilities function in your them to create typography classes. You can put media queries in them as well to fully abstract away the choices made by your design system on font-size, line-height, etc. based on breakpoint.
@vasiovasio
@vasiovasio 2 ай бұрын
Oxide is Fantastic! ❤❤❤
@joestrkr
@joestrkr 2 ай бұрын
Using the module graph from Vite could be huge, especially for component libraries.
@nickadams2361
@nickadams2361 2 ай бұрын
literally reading an article lol
@AndrewPetersonGameDev
@AndrewPetersonGameDev 2 ай бұрын
I should start using Tailwind (for my website written in Rust)
@luca4479
@luca4479 2 ай бұрын
Leptos + tailwind is nice
@sarthakmalhotra7912
@sarthakmalhotra7912 2 ай бұрын
They can do all of that but having variant grouping is still not achieved(internally).
@bryson2662
@bryson2662 2 ай бұрын
Those are perfectly fine sentences. They're not run-ons
@theblckbird
@theblckbird 2 ай бұрын
Those long sentences are very normal in German
@actionscripted
@actionscripted 2 ай бұрын
They are in American English, too. A sentence that wraps a few lines isn’t necessarily a run on and some authors like Nathaniel Hawthorne would write correct sentences that spanned half a page.
@yashsolanki069
@yashsolanki069 2 ай бұрын
Why does the new change remind me of scss+bem way of writing styles ?
@alexandru26
@alexandru26 2 ай бұрын
Soo now they use lightning css to parse,auto prefix and minify instead of post css with auto prefix and nanocss
@mokhosh
@mokhosh 2 ай бұрын
i started using it but the auto detect didn't detect my view files
@27sosite73
@27sosite73 2 ай бұрын
T3 stack going to exist without planetscale we are migrating to Turso?
@devzone7
@devzone7 2 ай бұрын
That's cool !
@re.liable
@re.liable 2 ай бұрын
I am more interested in improvements with the VSCode extension. I'm a really junior dev but the biggest pain points that I share with our team are: - Getting the extension to know about custom classes. I/We have been getting by with Tailwind plugins but they're rather ugly (literal CSS in JS) - Getting the Intellisense outside of the "normal" class contexts, e.g. in variables. There's an experimental class regex setting but being experimental keeps us on edge by default - As of writing this comment the extension still needs a config file to actually work. This is annoying for me personally in my "throwaway" projects in which I only link the CDN package. Since v4 is going to make config-less possible, it's pretty likely the extension is going to be updated as well, and I hope it'll also come with other features
@nemeziz_prime
@nemeziz_prime 2 ай бұрын
What browser is being used in this video? Looks pretty sleek
@sashaulycode
@sashaulycode 2 ай бұрын
Arc Browser, I think it's macos only for now
@rpWeb3
@rpWeb3 2 ай бұрын
lets just use rust for everything.. UI, backend, Beds, Kitchen , Cars, Cats, Coffee, Glasses, Hoodies, Socks, Bacon, etc... :p
@derciojds
@derciojds 2 ай бұрын
The new JavaScript
@araozu
@araozu 2 ай бұрын
​@@derciojds but actually a really good language 🤣🤣
@ErrorBorn
@ErrorBorn 2 ай бұрын
Or use Mojo. But I’m just a Chris Lattner fan
@ZiaCodes
@ZiaCodes 2 ай бұрын
I was expecting CSS Logical Properties
@FaraazAhmad
@FaraazAhmad 2 ай бұрын
Do they finally support drop-shadow?
@RolandAyala
@RolandAyala 2 ай бұрын
@0:32. Wow.
@harshmakwanaa
@harshmakwanaa 2 ай бұрын
how is that arc logo different?
@ZeroRegretz
@ZeroRegretz 2 ай бұрын
Arc's early access program. New update coming
@xXYourShadowDaniXx
@xXYourShadowDaniXx 2 ай бұрын
Whats the popup search application Theo is using?
@naufalfarras2213
@naufalfarras2213 2 ай бұрын
he was using arc browser, it has built in search command palette
@studyingturtle2726
@studyingturtle2726 2 ай бұрын
what is the name of the browser you use?
@MrDragos360
@MrDragos360 2 ай бұрын
What browser does he uses ?
@markeggers8356
@markeggers8356 2 ай бұрын
Welcome to the James Fennimore Cooper school of writing. Sentences are paragraphs, and a paragraph is a page in length.
@maxijonson
@maxijonson 2 ай бұрын
Literally just started trying out Tailwind 2 days ago. I'm one of those devs that stayed away from it because of the huge classNames, but I keep seeing "you have to actually try it to understand". So that's what I'm finally doing. How big are these changes to experienced Tailwind users? How much should I expect my current (very small) understanding of it to change? 👀
@balduin_b4334
@balduin_b4334 2 ай бұрын
i am so hyped for v4, postcss gifted us some problems in our monorepo
@gro967
@gro967 2 ай бұрын
Maybe it gets as fast as UnoCSS at some point. That really feels instant and it's not even based on Rust, just very good TS code. Feels a little bit like they are trying to fix their bad code by introducing Rust...
@nilskaspersson
@nilskaspersson 2 ай бұрын
This is clearly great software, but I still can't understand why I should learn Tailwind syntax when I could just write CSS Modules. The potential benefits are so tangential.
@zayne-sarutobi
@zayne-sarutobi 2 ай бұрын
To each their own I suppose. Personally, I truly disdain context switching for something as minute as css
@rand0mtv660
@rand0mtv660 2 ай бұрын
Try it, you might like it. I worked with CSS Modules for last 3-4 years and switched to Tailwind in last 6 months or so and would never go back. Syntax is nothing special, it's really not that different compared to actual CSS properties so it's not like you are learning a totally separate language. It's one thing watching videos, reading about something, but it's a totally different thing trying it out. Don't dismiss it until you evaluated it properly.
@srki22
@srki22 2 ай бұрын
So, you have css module for every component? Isn't it better than for everyting to be in the same file?
@jitx2797
@jitx2797 2 ай бұрын
I can relate to the initial resistance but just try it once. I was too just into modules but twcss is just awesome
@lcarsos
@lcarsos 2 ай бұрын
"Rust where it counts" this (not just in rust) is something the whole industry needs to get better at. Doing whole ground up rewrites will doom your project. Learn to start landing beachheads into the most critical parts of your codebase, and interop with your it's-not-legacy code.
@lancemarchetti8673
@lancemarchetti8673 2 ай бұрын
Is moving from Bootstrap to Tailwind a huge learning curve? Or is there stuff that Tailwind can do better than Bootstrap?
@TheOriginalBlueKirby
@TheOriginalBlueKirby 2 ай бұрын
They are not comparable.
@Lucas-gt8en
@Lucas-gt8en 2 ай бұрын
Tailwind is closer to plain CSS than to Bootstrap so it mostly depends on how comfortable you are with CSS. Then again I picked it up when I was mostly using Bootstrap and Material Design and the documentation was so good I quickly picked up CSS via Tailwind. Regarding capabilities: Tailwind allows you to very quickly and easily build your own version of ‘btn’ and ‘card’ etc. It’s basically as capable as vanilla CSS
@xrexy
@xrexy 2 ай бұрын
Bootstrap is so much harder and overcomplicated compared to Tailwind. Tailwind is just CSS with classes. Also yes, tailwind does everything better
@TheOriginalBlueKirby
@TheOriginalBlueKirby 2 ай бұрын
@@xrexy CSS already has classes, so no. Not even close.
@xrexy
@xrexy 2 ай бұрын
@@TheOriginalBlueKirby What??? CSS has classes???? What are you gonna tell me next, maybe the sky is blue?
@SandraWantsCoke
@SandraWantsCoke 2 ай бұрын
I don't think many care about build time whether it's 0.5 seconds or 0.03 seconds...
@ApacheGamingUK
@ApacheGamingUK 2 ай бұрын
The zero configuration and no content paths settings scare me. I'm using Tailwind with Blazor.
@Woeden
@Woeden 2 ай бұрын
I dream for a Javascript++ written in Rust
@user-sj7tf2yv3m
@user-sj7tf2yv3m 2 ай бұрын
Vannila Css ❤ One love 💞
@jacksoncougar
@jacksoncougar 2 ай бұрын
You had 100 lines in the config. Pour a cup of coffee and get it done lol
@user-xc6ny2re6i
@user-xc6ny2re6i 2 ай бұрын
Noice
@TheDarkOneSC2
@TheDarkOneSC2 2 ай бұрын
At this point we might as well just switch entirely to Rust for WebDev stuff
@pablomayobre
@pablomayobre 2 ай бұрын
They tell you it has a vite plugin and you test with Next the only framework not using Vite by now? come on...
@DavidWTube
@DavidWTube 2 ай бұрын
Im so thankful for Rust and have no understanding of the language.
@icesentry
@icesentry 2 ай бұрын
Theo, you of all people should know how js hate sucks. Please don't do the same with rust. I get it, you had a bad experience with it, but me and many other devs have shipped on time with rust.
@cothfi
@cothfi 2 ай бұрын
How much do you get from Tailwind? I applied for their shilling position too but no one replied :/
@frontend_ko
@frontend_ko 2 ай бұрын
I dont like making my codes look complicated with lengthy classname
@azizsafudin
@azizsafudin 2 ай бұрын
That complexity has to reside SOMEWHERE. What better place than the markup itself.
@bates64
@bates64 2 ай бұрын
Wtf is with all the Rust hate from Theo? This idea that it's impossible for people to learn Rust or contribute to Rust software is silly
@tinrab
@tinrab 2 ай бұрын
Lmao, what's that attitude towards Rust? It's amazing, you should learn it.
@WesternSpace
@WesternSpace 2 ай бұрын
For content. Divisive opinions generate the views. Go watch his Rust video and just cringe.
@sylum4277
@sylum4277 2 ай бұрын
Why would I choose this over styled-components?
@wojciechlechowicz9538
@wojciechlechowicz9538 2 ай бұрын
Oh boy, grab the 🍿
@TheVibeCurator
@TheVibeCurator 2 ай бұрын
“It’s all Rust” 😭😭
@rredington305
@rredington305 Ай бұрын
Tailwind is for intelligent, hard-working developers who don't mind typing their fingers blue. Tried it, and I'm way too lazy to use Tailwind. I'd rather stick to MUI, so much easier and less typing 😂
@tjaytje
@tjaytje 2 ай бұрын
At this point Tailwind is going from an tool to a framework that defeats the purpose. Just get creative with class names its part of your job so don't complain. At this point its easier to write plain CSS then write inline styles like tailwind.
@azizsafudin
@azizsafudin 2 ай бұрын
Easier to write plain CSS? Maybe. Easier to maintain? Fuck no.
@ThatDereKid
@ThatDereKid 2 ай бұрын
Nope. In a FAANG codebase without scoped styling you have to have QA team regress a page every time you change you remove or override a class.
@phojie6868
@phojie6868 2 ай бұрын
UNOCSS > TAILWIND, should give review to Unocss instead of TW
@deadchannel8431
@deadchannel8431 2 ай бұрын
Unocss just manual tailwind
@Person-who-exists
@Person-who-exists 2 ай бұрын
Tailwind 4 makes you html bigger than thought
@Caldaron
@Caldaron 2 ай бұрын
nah dude oklch is pronounced ocklock
@tiimmyvegas4974
@tiimmyvegas4974 2 ай бұрын
These thumbnails are ridiculous. You’d swear he’s announcing the end of the world, and really it’s just css loll
@DigitalKelvin
@DigitalKelvin 2 ай бұрын
Those aren't run-ons.
@1Bishop
@1Bishop 2 ай бұрын
RUST BABY! WOOOO 🦀
@ArthurMudrick
@ArthurMudrick 2 ай бұрын
Есть нормальный CSS с препроцессором SCSS, есть нормальный BEM или CSS-модули... нет же, недоучки будут теперь учить Tailwind-синтаксис вместо CSS.
@syno6412
@syno6412 2 ай бұрын
60 seconds in and already insufferable
@netdoom
@netdoom 2 ай бұрын
Wait until you just write simple css modules and realize you really never needed to use tailwind Just write raw sql. Just build on raw react. Trust me, it’ll change your life.
@tjaytje
@tjaytje 2 ай бұрын
Yeah people now a days rather use over engineerd tools then actually learn the basic.
@VeniMitev
@VeniMitev 2 ай бұрын
Just build on raw JS, not even TS. Go big or go home. React is over-engineered
@azizsafudin
@azizsafudin 2 ай бұрын
All these hobbyist solo devs who have never worked on a team giving “advise”. 🙄
@filemot25
@filemot25 2 ай бұрын
Raw React 😂
@pavlovalor
@pavlovalor 2 ай бұрын
Even v44 won’t change the fact it’s for fishies unable to learn css 😂
@shapelessed
@shapelessed 2 ай бұрын
To be honest, I always sort of hated the whole CSS library thing that's been going on in the web space. I know, they are great for fast prototyping, except they're bad for fast refactoring and changes. They are great to keep consistency across the project, except for when you have an objectively better idea how to do something, in which case you're screwed, because now all the styles are fighting with each other in a huge glorified mess of CSS crap.
@ob34915
@ob34915 2 ай бұрын
They need to stop creating front end Framework no one cares anymore
@akay64x2
@akay64x2 2 ай бұрын
Maybe I am old school, but I never liked Tailwind or the type of code it produces.
@srki22
@srki22 2 ай бұрын
I was on the same page but then I changed my mind. Tailwin team researched and used all scientifically proven knowledge about color schemes, typography etc. to come up with the list of css classes instead od letting you use all the custom sizes and colors. You can read a lot about that on their blog. I was amazed when I read it. And even after learning that, I still didn't like it for a long time, because for me it was better to use css selector nav>li, if I wanted for example to change the style of all navigation lists on my site, instead of changing tailwind classes in all of them separately. However, the re-use problem with tailwind is not an issue if you use a framework (e.g. React) where you can make a NavList component that you can re-use accross your site by passing different props (item list, orientation etc.). So if you don't use new school JS frameworks, it is fine to stick with the old way of thinking, which is to separate content (HTML) from presentation (CSS). But if you use a framework where you define your reusable components then it is good to use Tailwind instead of changing CSS in your defined class without knowing if you broke some other component that used the same css class.
@derciojds
@derciojds 2 ай бұрын
And you're not alone
@buc991
@buc991 2 ай бұрын
i hate tailwind, with this plague every project turned into unreadable mess of inline abbreviations, impossible to maintain and change something, how is this better then normal css or scss
@xrexy
@xrexy 2 ай бұрын
Tell me you've never worked with other developers without telling me
@tjaytje
@tjaytje 2 ай бұрын
@@xrexytell me you never worked with real developers thaty know the basics without telling me.
@xrexy
@xrexy 2 ай бұрын
@@tjaytje It's not about knowing the "basics". It's about how CSS is nowhere ideal for bigger projects.
@xrexy
@xrexy 2 ай бұрын
Also the inline mess argument never fails to make me laugh. With CSS you just hide the "mess" in another place behind a selector
@aldierygonzalez7249
@aldierygonzalez7249 2 ай бұрын
People are arguing in the replies but let me take a real crack at showing you why people like tailwind over css classes. If i were to sum up the main benefits, Id say its for the colocation, speed of development, and its predictability Colocation: This is what everyone tends to hate tailwind for and I get it to a degree, it can 3x-10x the size of your html tags. The reason people enjoy it is because when you first get started, it feels like you have to learn a whole new way of writing css, but the tailwind team has put a ton of effort into making the process as close to writing real css as possible. Id say, if you try it, youd be able to read and reason about tailwind code in about an hour. Speed: Like I said earlier Tailwind has a TON of tooling around it such as class sorting and intelisense with really good fuzzy search in all major editors. This makes the css abbreviations really efficient mentally for me. I type flexc and flex-col will be my first result. I have memorized these patterns over time, but starting up i didnt really have to memorize it either. Ive probably checked the documentation maybe 3-5 times in my life? But since I dont have to name anything and just write the classes I want, it becomes so much faster to write and maintain. Need to turn a parent div into a flex? You are one click and four keystrokes away from that, instead of going go the correct css file and finding the classname, which you may have forgotten and changing the display to flex. Predictability: This one is my favorite. Now i would like to preface this with the idea that if you are not using a composable/component architecture, Tailwind is not the solution for you. If that was the case, i would fully agree about your points on maintainability and readability. But when you actually work on tailwind on a component, say maybe 50-100 lines of code, it becomes really easy to maintain. It benefits you a lot to right correct semantic html too but in my opinion its not necessary. When i want to change something or I see something breaking, I can usually narrow it down to a component->tag level immediately, and now since my classes are in a predictable order, I can usually predict exactly where in the codebase I need to look all before I have seen the code. It becomes a massive win in large teams for this reason. Weve all had team members write garbage code and css, and put it in the wrong file, and then put it in a weird spot where they relied on cascading and specificity, then it inevitably breaks on the next change. Those are the worst to debug. That goes away with tailwind. I completely understand your concerns about readability, as it definitely is a hurdle. I think its one to generally overcome easily though, as when your html is readable, your classnames come second to that. And if you know where you need to go in terms of the html, you find yourself at or near the line where your css that broke the html is. No need to change your mind because of this, but really try it for a quick tester app, it really makes the skill floor for good css go way up, while still achievable, making junior devs much more reliable.
@oleksiistri8429
@oleksiistri8429 2 ай бұрын
i think all this so called "frameworks" are full of shit, we do not need 100 of frontend frameworks, just use css
Responding To The Tailwind Conspiracy
37:25
Theo - t3․gg
Рет қаралды 73 М.
JavaScript Framework Tier List
40:57
Theo - t3․gg
Рет қаралды 281 М.
Can You Draw The PERFECT Circle?
00:57
Stokes Twins
Рет қаралды 79 МЛН
it takes two to tango 💃🏻🕺🏻
00:18
Zach King
Рет қаралды 21 МЛН
Who Will Eat The Porridge First The Cockroach Or Me? 👧vs🪳
00:26
Giggle Jiggle
Рет қаралды 18 МЛН
Chips evolution !! 😔😔
00:23
Tibo InShape
Рет қаралды 28 МЛН
Why doesn't Facebook use git?
20:07
Theo - t3․gg
Рет қаралды 175 М.
Panda CSS First Impressions | Theo Reacts
29:52
Theo - t3․gg
Рет қаралды 84 М.
UI Libraries Are Dying, Here's Why
13:28
Theo - t3․gg
Рет қаралды 261 М.
I Was Wrong About React Router.
19:06
Theo - t3․gg
Рет қаралды 46 М.
Tailwind CSS V4 is SO Good!
8:51
Frontend FYI
Рет қаралды 31 М.
De-Google Your Life - Part 1
19:31
Linus Tech Tips
Рет қаралды 143 М.
Why WebAssembly Can't Win
19:38
Theo - t3․gg
Рет қаралды 97 М.
This UI component library is mind-blowing
8:23
Beyond Fireship
Рет қаралды 545 М.
The Problem With UUIDs
25:53
Theo - t3․gg
Рет қаралды 161 М.
🤖Вернулись в ПРОШЛОЕ🤪
0:28
Demin's Lounge
Рет қаралды 109 М.
Трагичная История Девушки 😱🔥
0:58
Смотри Под Чаёк
Рет қаралды 220 М.