Facebook's Tailwind Killer Is Now Open Source

  Рет қаралды 100,717

Theo - t3․gg

Theo - t3․gg

6 ай бұрын

Hyped for the StyleX team. Feels like a truly fresh take on styles. I'll probably keep using Tailwind for now, but that doesn't mean Meta isn't onto something here.
GITHUB REPO: github.com/facebook/stylex
Check out my Twitch, Twitter, Discord more at t3.gg
S/O Ph4se0n3 for the awesome edit 🙏

Пікірлер: 369
@tabdig
@tabdig 6 ай бұрын
no way this gonna kill tailwind css.
@deadchannel8431
@deadchannel8431 6 ай бұрын
I know it’s so different
@predaytor
@predaytor 6 ай бұрын
It will
@dstick14
@dstick14 6 ай бұрын
​@@predaytornah it will be ignored once the hype dies down. Tailwind was not just hype it's actually good and simple to use
@okage_
@okage_ 6 ай бұрын
it wont, theo's channel has just become a marketing channel for facebook, vercel and his other sponsors.
@dealloc
@dealloc 6 ай бұрын
No, and they have said the opposite. It can compliment TailwindCSS. The headline is bad.
@WilliamWelsh
@WilliamWelsh 6 ай бұрын
my favorite thing about tailwind is not having to come up with unique classnames or importing or exporting or compiling
@nulevii
@nulevii 6 ай бұрын
The most important feature in the tailwind for me is that I don't need to keep my styles separate from the elements and immediately can add, or fix something. I can already tell, that there will be so much pain to use this library
@marcvanrenterghem5468
@marcvanrenterghem5468 6 ай бұрын
Exactly the same feeling here
@lapulapucityrider3227
@lapulapucityrider3227 6 ай бұрын
If its not for your use case then its not for you, this solution are for people who benefits for it.
@krzysztofrozbicki1776
@krzysztofrozbicki1776 6 ай бұрын
For me the pain with tailwind is that if i don`t plan carefully i cannot reuse the same styling in other elements without pain when i want to change e.g. color in some of them (but not all). And throw a rock if you didn`t get a customer that in after all the work tells you "this looks fine, but we want a different border radius there there and there, larger font size on some of headers, but on the paragraphs and hyperlinks make it smaller, but only on main page - we want it to be reversed in the about-us subpage oh and we want the rainbow colors on our website - so make the sections background colors different". I cannot even imagine changing that on website with like 50 subpages + blog articles etc using tailwind.
@Svish_
@Svish_ 6 ай бұрын
​@@krzysztofrozbicki1776I don't really see how that would be easier with StyleX either
@snowwsquire
@snowwsquire 6 ай бұрын
@@krzysztofrozbicki1776if your using components right that’s not a problem
@aarholodian
@aarholodian 6 ай бұрын
I'm thinking about just going into embedded and pray I never have to touch a single piece of frontend technology again at this point
@bgill7475
@bgill7475 6 ай бұрын
I’m gonna laugh hard when all the react bros realize it’s gonna go away at some point
@viko1786
@viko1786 6 ай бұрын
Same
@jotaroisdarius1918
@jotaroisdarius1918 6 ай бұрын
@@bgill7475 what do you mean?
@yemirhan
@yemirhan 6 ай бұрын
whenever someone makes a new library why do people act like they need to learn everything about it?
@deadchannel8431
@deadchannel8431 6 ай бұрын
@@bgill7475?
@gasparsigma
@gasparsigma 6 ай бұрын
Emotion with Typescript has been a thing for a while and hasn't killed Tailwind, I don't think stylex will
@Sindoku
@Sindoku 6 ай бұрын
Nor is it meant to…
@DEVDerr
@DEVDerr 6 ай бұрын
Cool that they shared this technology with us, but to be really honest - Tailwind is better
@corbanbrook
@corbanbrook 6 ай бұрын
I see a lot of similarities to vanilla-extract. I think the main advantage stylex has over vanilla-extract is that it is able to smartly merge styles. Secondly stylex has better colocation, where vanilla-extract requires a separate styles.css.ts file, stylex allows styles to created in the same file as your components if you wish. Lastly stylex will compile everything down to unique atomic classes as you use them for optimal bundle size where vanilla-abstract allows you to create unique multi rule classes where there may be a lot of overlap unless you opt into sprinkles. It really seems like a natural successor. From CSS Modules -> Vanilla Extract -> StyleX I think the biggest missed opportunity was there doesn’t seem to be a way to define styling inline - this will feel like a big step backwards for tailwind users. I look forward to play with it over the next couple weeks.
@SashaInTheCloud
@SashaInTheCloud 6 ай бұрын
Thank you for the reasoning. This is helpful discourse.
@vitalysuper3193
@vitalysuper3193 6 ай бұрын
Agree, this is definitely the best comment there!, but Stylex still doesn’t show how to: 1. Do dry just a bit more, I literally can’t extract & reuse anything in stylex including media queries. Some styles like text-truncate are always used together. They go too far with not allowing dry. But probably that’s the problem they solved at meta - workers have to code more so they work more 2. How to deal with some that exists and you can’t fully control. For example adding gaps to a table without direct access to which is possible only with space selectors
@xn--b81a
@xn--b81a 6 ай бұрын
i'm a student. the more i learn the more i realize i know nothing. i've been using tailwind for a while but now i kinda want to go back to vanilla css, js, no framework, and carefully learn every bits of it.
@dacam29
@dacam29 6 ай бұрын
Even after 20 years you know nothing
@MrJellekeulemans
@MrJellekeulemans 6 ай бұрын
Don't get overwhelmed by these abstractions companies like meta make. It all comes down to the fact that they try to solve the same problems in almost the same ways. So if you know what problems they solve and how, you can make educated descisions on what to pick and why for your projects. Learning every piece also becomes easier when you see these similarities.
@ChristoferGBG
@ChristoferGBG 6 ай бұрын
You should absolutely go back to vanilla CSS and you will never use tailwind again
@Frontend_Ed
@Frontend_Ed 6 ай бұрын
Vanilla Extract has done all this for years; compiles to CSS, type-safe, and many DX improvements over styled-components
@cfuendev
@cfuendev 6 ай бұрын
Also there's a project called typewind that is zero runtime, autocompletes, generates CSS docs and is also compiled! You set up custom utilities on a config file and all classes compiled remain simple like tw.bg_white, tw.text_["#333"] and the DX is very similar to Tailwind, with a framework-agnostic CLI and a Vite integration!
@daleryanaldover6545
@daleryanaldover6545 6 ай бұрын
...also Tailwind compiles to CSS file, bonkers! 😂
@kippeneneieren2039
@kippeneneieren2039 6 ай бұрын
Exactly. The addFunctionSerializer api is amazing as well. And the globalStyle escape hatch is a must have in practice (for me). But the built-in atomic output from StyleX is a big advantage. Sprinkles is great, but an extra step and needs to be maintained.
@vitalysuper3193
@vitalysuper3193 6 ай бұрын
The biggest issue I had with tailwind is variables that don’t have autocomplete, not type safe. Just imagine of having accent colour for the whole block. Stylex & extract has solution for this, but tailwind doesn’t. Though stylex solution with their theme variables where you have redefine everything isn’t ideal either
@timonjur
@timonjur 6 ай бұрын
I think I would use it when creating a new design system with specific branding. but I think that the combination of tailwind + clsx + cva works great for that task too!
@neociber24
@neociber24 6 ай бұрын
Would be interesting to know the difference between those and styleX, because is compiled maybe need to do less things
@rizalalfandi0007
@rizalalfandi0007 6 ай бұрын
Tailwind merge, don't forget it
@Voidstroyer
@Voidstroyer 6 ай бұрын
I am extremely happy to see that the majority of comments on this video are still in favor of tailwind or other solutions. StyleX really looks like a React "style" (pun intended) solution to a React problem. Vue and Svelte already make styling components super issue with the way how they are structured. Furthermore, stylex currently is limited to JavaScript frameworks, whereas tailwind is framework agnostic. I really hope that people won't blindly adopt StyleX just because it has the Meta name behind it.
@SRG-Learn-Code
@SRG-Learn-Code 6 ай бұрын
I was wondering the same, apparently I'm spoiled by svelte.
@Sindoku
@Sindoku 6 ай бұрын
It doesn’t solve the same problem as tailwind. Tailwind is for projects that don’t use a component style system that is applied to multiple apps, it’s mostly for a single project.
@MrJeszam
@MrJeszam 6 ай бұрын
​@@Sindoku because React is not good framework.
@paragateoslo
@paragateoslo 6 ай бұрын
Totally agree. Havent we learned anything from the horriblem time people was using styled components? Why create another dependency that will eventually die out, and you will have to migrate all your styles to the next bad styling thing?
@neociber24
@neociber24 6 ай бұрын
I think they need to put more emphasis in the fact that is compiled, it's hard for people that had used CSS -in-JS to wrap their head around that
@notlekrut
@notlekrut 6 ай бұрын
Highly disagree. Making it compiled doesn't change how you still write CSS-in-JS. There's nothing hard for any dev to wrap theirs head around this. A lot of people just don't like CSS-in-JS and making it compiled instead of runtime doesn't make it better or easier to use for developers, specially when it's so damn similar. Sure, the performance is good but so is Tailwind, and if it means still writing code as CSS-in-JS, they'll still not like it and still not use it.
@user-tz6nn8iw9m
@user-tz6nn8iw9m 6 ай бұрын
i'm just going to say that you can build a compiler on top of stylex and get an api like stitches/tailwind :) btw tailwind is not going to die, because there are developers who have not yet encountered the problems that stylex solves. i'm excited about stylex.
@r2_rho
@r2_rho 6 ай бұрын
This doesnt come anywhere near the ergonomics of tailwind. Looking at the syntax for creating stylex classes looks exhausting. With tailwind you can just type utility class names quickly and easily and use vscode extensions to minimize the classnames from the code to keep it readable. The runtime cost forr css in js was one issue with those style systems, but not the only one. Long live tailwind.
@mbahmusalto
@mbahmusalto 6 ай бұрын
💯 exhausting
@notramiras
@notramiras 6 ай бұрын
Well said
@im_wildcat
@im_wildcat 6 ай бұрын
Super true. It would only use this one in very edge cases not like what I’ve been using Tailwind
@theklr
@theklr 6 ай бұрын
I think that’s my frustration with these type of videos. Hell have too many noobs not listen that it’s designed for medium-large+ orgs where there’s multiple groups working on the parts. Add the influencers who need views and they’ll be a cohort of dev teams stuck using stylex cause JimBob came in and said this is the greatest thing since tailwind. It’s the same issue with the Next 13 hype. All smoke no fire
@nearwizard1337
@nearwizard1337 6 ай бұрын
Oh shoot it’s open now? Used to work at FB and did dogfooding and was one of the earlier consumers of styleX in 2020/2021 when developing internal tools and dashboards. Had a pretty decent experience with it My experience is a little dated on it, but my thoughts were that it is probably better for an established project that is standardizing over a new project
@user-ir3yw8bs4i
@user-ir3yw8bs4i 6 ай бұрын
Theo can certainly sell a turd as gold..The guy has some serious sales talent!
@ivanmaglica264
@ivanmaglica264 6 ай бұрын
This feels immediately like we will be trading a whole bunch of brain cycles every time you have to deal with it for some really specific use cases that it actually solves. I don't know, definitely gonna wait until it becomes battle tested outside FB.
@AnthonyCandaele
@AnthonyCandaele 6 ай бұрын
I'm a self employed developer, so I don't think StyleX is something for me. But I like the co-location and everything is css aspect. I hope someday this library will also be interesting for smaller projects.
@devaereo
@devaereo 6 ай бұрын
This approach was something I envisioned with styled components + tailwind, I will certainly give it a try
@vitalysuper3193
@vitalysuper3193 6 ай бұрын
Did you try twin.macro + linaria? Stylex is not the first cssinjs lib that computes classes at build step
@tibzdankan
@tibzdankan 6 ай бұрын
For me , am keeping with tailwind in the mean time
@Sindoku
@Sindoku 6 ай бұрын
It seems nice for pairing a design system to a component library, as you mentioned. I might push to use this at my company. Another option is to use Chakra, the react package. It does pretty everything styleX does, and then some, and it’s built with A11Y in mind from the ground up. Chakra is my personal preference for style systems, I’ll be using that more than likely.
@Noah-cv4zo
@Noah-cv4zo 6 ай бұрын
I mostly like the the T3 stack for quick development but the adoption of Tailwind has always been the one thing I’ve never understood. It’s inline styles using themed utility classes right? But it completely obscures the CSS industry standard, requiring new naming for everything and a lookup table to get anything done. I like inline styles using the styles prop in React because they are right there as you develop and read code, is fully customizable and easy to understand by anyone familiar with CSS. It’s even reusable if you want since it’s all just objects. Stylex appears to build on that concept adding support for some sudo class functionality too. IMO this is how I’d recommend small teams to work. For larger orgs wanting consistent styling I’d recommend a component library instead. It’s also worth noting that when both of these libraries lose popularity in 5-10 years, only the skills of one of these 2 tools will transfer over (unless css is gonna go by the wayside entirely which is very unlikely)
@ebratz
@ebratz 6 ай бұрын
I still will be using Tailwind... maybe I'm limited, but couldn't see much value on this and it causes some Déjà vu of Styled Components. I remember the reasons many gave to leave Styled Components are exactly the ones that now sold as "good reasons to use it", so sounds we are coming back some years
@eliancodes
@eliancodes 6 ай бұрын
I could see it working in bigger sites for sure! But for smaller sites or "indie" projects, I don't think this is the way.
@t3dotgg
@t3dotgg 6 ай бұрын
Fully agree
@dealloc
@dealloc 6 ай бұрын
Only real issue I'd have with StyleX is also one thing that they explicitly want to avoid that is powerful in CSS. Using selectors like for data-attributes (and in some cases, nested) instead of relying on some React state (i,e. client components) to set styles based on accessible attributes. I think selectors like :has are also useful, esp. with focus styling.
@sagarsubedi
@sagarsubedi 6 ай бұрын
After using Tailwind for few years now, I ain't using any system where I have to come up with class names and write pure css. Tailwind makes me faster.
@TurkeyMaster
@TurkeyMaster 6 ай бұрын
The current styling looks ugly to me. Personally, I prefer Tailwind or Bootstrap even more than this. Why should I choose to write justifyContent: "between" instead of justify-between or justify-content: "between" (plain CSS)?
@TobiasLundin83
@TobiasLundin83 6 ай бұрын
the model and API seems really nice and I'll give it a shot, but I can't find anything in their docs around css custom properties (that I am personally very fond of using)
@NamanGoel34
@NamanGoel34 6 ай бұрын
defineVars and createTheme
@johndevnoza4223
@johndevnoza4223 5 ай бұрын
btw in your opinion, as junior should i learn styleX for my portfolio? in terms of getting more chance to land a job.. ? or should i focus to learn different css framework?
@joosia7452
@joosia7452 3 ай бұрын
Definitely not. StyleX will be used, if ever, only with huge enterprise projects. Maybe it will be used only by FB. If you already have a good grasp on the base technologies html, css, js then learn any of the popular frameworks both front and back-end. React might look good on portfolio, but I wouldn't start with that. Start with something simple like Alpine.js. Learning some CSS preprocerros is useful like SASS, or LESS but I wouldn't say it's necessary. Tailwindcss on the other hand is pretty much a must know at this point especially if you are diving in to web app development. Not a popular opinion probably, but you'll actually learn CSS too by using it.
@joosia7452
@joosia7452 3 ай бұрын
And sorry, you asked Theo, not me, but wanted give my opinion anyway. 😄All the best to you and good luck with your career!
@richienguyen2703
@richienguyen2703 6 ай бұрын
I would probably give this one a try, especially when they ship an intellisense too. There are two annoying patterns I always end up in Tailwind is that one is undescribed tags with lengthy classNames and the other is unnecessarily complicated reusable components that handles variants.
@John.Rearden
@John.Rearden 6 ай бұрын
The X in StyleX, and the rivalry between Zuck and Musk - X, SpaceX
@dorian0623
@dorian0623 6 ай бұрын
Although they mention colocation as a key concept, I'm pretty sure somebody will still try to put StyleX code in a seperate style.ts next to the component and import it
@carlosricardoziegler2650
@carlosricardoziegler2650 6 ай бұрын
I ask my self what UIU Framework will be introduce stylex ? Lest see. I like it :)
@UntitledProjectDemo
@UntitledProjectDemo 6 ай бұрын
Shoving the complexity into the build tooling is what makes JS so painful to use IMO. As soon as you have 3+ app dependencies that have custom build steps, configuring and debugging that setup becomes a real pain. The simplicity of Tailwind running it's own process is a huge part of what makes it so good. Configuration hell is real, and it's written in JS.
@ukaszzbrozek6470
@ukaszzbrozek6470 6 ай бұрын
I think it would be the "go to" solution after a while. The simplicity and type definitions make it easy to start working with it. I never learned Tailwind CSS and now I think there is no point of doing it.
@sebastian-nunez
@sebastian-nunez 6 ай бұрын
If you know CSS you already know Tailwind. I was the opposite, after learning tailwind I became way better at CSS
@JohnBuildWebsites
@JohnBuildWebsites 6 ай бұрын
@@sebastian-nunezI don't know about that. After a year or so, I am still struggling to remember what tailwind has named certain css properties, and don't get me started on limited support for advanced grid layouts. Tailwind has it's uses for sure, but it is not the amazing styling panacea some people make it out to be.
@SandraWantsCoke
@SandraWantsCoke 6 ай бұрын
@@JohnBuildWebsites well you just write normal CSS for your grid. Tailwind does not have the whole of CSS mapped out.
@guramguram6706
@guramguram6706 6 ай бұрын
Number one thing i always hate about CSS-in-JS is when i'm debugging some html element in browser and i wan't what css class is applying specific property in the code i have search by propery for example "color:red" instead of ".red-button".
@amiza_ma
@amiza_ma 6 ай бұрын
I ignore the hype!
@hamzaabamboo
@hamzaabamboo 6 ай бұрын
But can it kill upcoming *panda*
@magne6049
@magne6049 6 ай бұрын
Tamagui rivals this, and excels even at cross-platform (React Native and Web) if you want. There’s even talk of a Tamagui Tailwind feature that would make writing it as fast as Tailwind too.
@BuyHighSellLo
@BuyHighSellLo 6 ай бұрын
would this be beneficial to organizations that have a custom component library and stick very closely to it? It sounds like no
@tejasshekar
@tejasshekar 6 ай бұрын
So, correct me if I am wrong, but are we using tailwind to write a CSS-in-JS approach here ? If so, what's the point ?
@mezianilotfi8688
@mezianilotfi8688 6 ай бұрын
What does it offer more compared to PandaCSS?
@Nightizm
@Nightizm 6 ай бұрын
I’m confused, how is this so unique? What’s different about StyleX compared to panda css or vanilla extract?
@wolfisraging
@wolfisraging 6 ай бұрын
This is built-in in Angular
@michaelfaith
@michaelfaith 6 ай бұрын
What do you think about emotion?
@PossibleProbability
@PossibleProbability 6 ай бұрын
They used to say that Tailwind is CSS with extra steps, but this thing actually seems like it is.
@Euquila
@Euquila 6 ай бұрын
You know what, I like it!
@AlexMercadoGo
@AlexMercadoGo 5 ай бұрын
Where would StyleX fit into your venn diagram of CSS solutions?
@michaelhildebrand-faust4039
@michaelhildebrand-faust4039 6 ай бұрын
At a first glance, it seems pretty close to a statically compiled version of JSS.
@abhishekgoel8251
@abhishekgoel8251 6 ай бұрын
I might be a noob but how is it different from style classes in react mui?
@rubendacostaesilva8442
@rubendacostaesilva8442 6 ай бұрын
You mean Emotion/CSS, and yes, it's almost the same thing.
@StevenBorrie
@StevenBorrie 6 ай бұрын
build time vs run time computation of the css
@abhishekgoel8251
@abhishekgoel8251 6 ай бұрын
@@StevenBorrie doesn’t the emotion css also get compiled at build time?
@toutpt
@toutpt 6 ай бұрын
I am still happy with css module 😅
@daleryanaldover6545
@daleryanaldover6545 6 ай бұрын
you know what I think of when reading their docs, react... this most likely solved the issues they have in their react projects but once again, this is not a universal tool that can be picked up on the go.
@oemeraran8183
@oemeraran8183 6 ай бұрын
I don't see how this is any better than tailwind + cva/tailwind-variants. With cva or tailwind-variants you can separate the styling part and still co-locate. Regarding typesafity, having tailwind intellisens extenstion is sufficient. If this would have existed pre tailwind, I would likely have considered it tho.
@dzienisz
@dzienisz 6 ай бұрын
Theo is too excited for for this ¯\_(ツ)_/¯
@patricknelson
@patricknelson 6 ай бұрын
Cool new tool. Probably ot a tailwind “killer,” though. Both have their place… and I’m not even a user of either, including React. So, take that opinion with a grain of salt. I think the *theory* behind StyleX is great and works well with very large projects with a particular architecture, though. Particularly the shared/typed styles and its power to potentially reduce code size, increase sharing, and etc.
@007order007
@007order007 6 ай бұрын
I think it's hilarious how the original design for CSS was to be cascading, and twenty years on the industry is STILL trying to undo the damage the cascading part has done to styling your websites
@pencilcheck
@pencilcheck 6 ай бұрын
Is this sponsored video by Meta?? I am surprised Theo use this wrong clickbait title for this. Theo, wink your right eye twice if you think you are in danger
@thegrumpydeveloper
@thegrumpydeveloper 6 ай бұрын
Tailwind still has Docs, inline styles, and better default themes. Stylex has better types and composition. Which will speed you up more? Tailwind for my cases but people will see the meta brand and gravitate to that.
@devyb-cc
@devyb-cc 6 ай бұрын
tailwindcss is saving me from pondering about "what should i name this class" 😅
@fixer8173
@fixer8173 6 ай бұрын
How is that different from emotioncss?
@dstick14
@dstick14 6 ай бұрын
It has a build step which compiles down everything to real CSS. If you're ever thinking what's the difference between x and y these days, half of the time the newer thing will have a build step
@SuperHeroINTJ
@SuperHeroINTJ 6 ай бұрын
Theo loves hype.
@semyongufman3911
@semyongufman3911 6 ай бұрын
How is this fundamentally different from vanilla extract?
@TheAcademik
@TheAcademik 6 ай бұрын
I've started loving HTMX (HTMX mentioned, let's go) so I really don't see me dropping Tailwind for this any time soon 😂😂
@viniciusmachadorodrigues1724
@viniciusmachadorodrigues1724 6 ай бұрын
If i wanted to write css id use modules, i like tailwind specially because i dont have to write css.
@arashitempesta
@arashitempesta 6 ай бұрын
very similar to react native stylesheets, has better guarantees but I dont see it killing tailwind tbh.
@lukasmolcic5143
@lukasmolcic5143 6 ай бұрын
I'll stick to tailwind, but I am glad runtime css-in-js is probably going to become a thing of the past
@xcarnage8632
@xcarnage8632 6 ай бұрын
this is a lot like style sheet in react native
@codesandtags
@codesandtags 6 ай бұрын
I think tailwindcss and styleX approach are two different things.
@jesulobajohn8468
@jesulobajohn8468 6 ай бұрын
Styled components can make this better
@JoaoAlves-ce1fi
@JoaoAlves-ce1fi 6 ай бұрын
it's impossible for this to kill tailwind imo
@deamorta6117
@deamorta6117 6 ай бұрын
Yeah this is nice
@coolemur976
@coolemur976 6 ай бұрын
While everyone is looking for best style preprocessor tool, I just wish CSS specs would be improved :-)
@mohammadnuridin_dev
@mohammadnuridin_dev 6 ай бұрын
the concept same away like style in react native, right??
@Jason-wm5qe
@Jason-wm5qe 6 ай бұрын
The only thing that’s gonna kill tailwind is tailwind
@javascriptes
@javascriptes 6 ай бұрын
I don't see this even replacing bootstrap. 😂
@returnZeroo
@returnZeroo 6 ай бұрын
How It's be a tailwind killer?
@dstick14
@dstick14 6 ай бұрын
I've just given up at this point, the moment I learn and start liking something there's something new to released to replace it. I am sticking with Tailwind, its easy, intuitive and does not impact runtime performance. Nobody asked for stylex honestly
@DeltaCrossChanell
@DeltaCrossChanell 6 ай бұрын
You probably don't need it. While you don't do highload huge service with a large team, the problems stylex trying to solve won't hit you, so we can calmly write tailwind classnames without really concerning But to be honest, merging incoming styles in tailwind can be really hurting
@kaixuanjaw3173
@kaixuanjaw3173 6 ай бұрын
Bruh just don't use it
@Lucas-gt8en
@Lucas-gt8en 6 ай бұрын
People did ask for this. They work at Meta and built StyleX
@JohnnyHandsomeCapital
@JohnnyHandsomeCapital 6 ай бұрын
I think it's great to have so much flexiblity in your tool setup. You always can decide to not use something and i think that the issue is more within teams or companies who are always running behind the next new big thing and trying too much of everything. Tech is just a toolbox and you can put whatever tool in your toolbox you want or just ignore it. That's at least how i see it. I don't really care about using everything, i just think it's cool how the Web Dev space is developing constantly providing so much benefit to people even though not everybody needs it.
@user-tz6nn8iw9m
@user-tz6nn8iw9m 6 ай бұрын
a closed mind tailwind fangirl
@indrajitsarkar3169
@indrajitsarkar3169 6 ай бұрын
for medium sized project i think this is overkill
@AllysonTS
@AllysonTS 6 ай бұрын
So... this is the Panda CSS from Meta? 🤔
@azeek
@azeek 6 ай бұрын
Good thumbnail 😂
@KodeAsura
@KodeAsura 6 ай бұрын
this is the react dev team in a nutshell "There are benefits of DRY code, but we don't think"
@ulrich-tonmoy
@ulrich-tonmoy 6 ай бұрын
why meta like to write css in js
@dstick14
@dstick14 6 ай бұрын
It's a large organisation which would probably like to share their styles among their different products, so they created a css in js framework but with the added twist of having a build step to avoid the downsides. Also FANG organisations often keep reinventing the wheel for their own use cases
@balintcsaszar6831
@balintcsaszar6831 6 ай бұрын
I have still the same issue with styleX what with other css-in-js solutions. When will be styleX interesting and useful...when we push some responsibilities of css into js because we are not familiar with css or scss. After creating 2 design systems with many variants...I recommend to learn css instead of creating more js code....which is technically the same number of code and normally should be autotested as well.... Definitely a competitor for tailwindcss or for other frameworks, but I'm sure that it won't replace those. It is just another solution with a small fix, that styleX will be compiled. Which solves css-in-js main issue which is also a lazy solution instead of learning css/scss. But it is always funny how high hype can be still around another css-in-js solution 😅
@michaelmannucci8585
@michaelmannucci8585 6 ай бұрын
Maybe I am really dumb, but I don't see how this would be better than TailwindCSS. Seems like it's more complicated with no real added benefit, and intresting just because it's different.
@nowayicommented1314
@nowayicommented1314 6 ай бұрын
Doesn’t MUI have the same thing for years with their createStyles function?
@harsh-es7ze
@harsh-es7ze 6 ай бұрын
same question
@neociber24
@neociber24 6 ай бұрын
That's no compiled
@dkazmer2
@dkazmer2 6 ай бұрын
Still using Flow is a little stubborn at this point. Also, is this for only React? If so, it sucks
@jengstrm2
@jengstrm2 6 ай бұрын
Where’s the Vite support?
@NamanGoel34
@NamanGoel34 6 ай бұрын
In the works, but the community plugin, vite-plugin-stylex is pretty good already.
@user-ir3yw8bs4i
@user-ir3yw8bs4i 6 ай бұрын
Frontend is like watching a circus!!! bedlam
@gro967
@gro967 6 ай бұрын
UnoCSS 💪
@Atmos41
@Atmos41 6 ай бұрын
No Tailwind killer here, just vanilla-extract variation.
@abal11
@abal11 6 ай бұрын
yeah lets add more visual crap inside the component view totally sounds like a good idea... I would never use this it looks terrible compared to using inlines even tailwind seems messy visually to me I much prefer a seperate stylesheet you just reference a class name and thats it like... when would I ever use something like this over tailwind for doing inline styles
@mainendra
@mainendra 6 ай бұрын
Sold just for having only two functions to learn create and props 👍
@simpingsyndrome
@simpingsyndrome 6 ай бұрын
why do we need type safe for the CSS?
@boldureans
@boldureans 6 ай бұрын
CSS never shows you errors if you misspell property, it just wont be applied, so you have to open browser dev tools to debug. Type safety = autocomplete + spellcheck which will help find an error while you write css.
@GermanoLisboa
@GermanoLisboa 6 ай бұрын
Most ide's already do autocomplete for css, and it's a language for visual style, you should have browser and devtools opened when editing css anyway
@neociber24
@neociber24 6 ай бұрын
Sharing code between multiple teams, also easier to refactor is what TS do in JS
@The_Penny_Seventeens
@The_Penny_Seventeens 5 ай бұрын
I feel Tailwind is much much easier for a beginner, The documentation is laid out smoothly to understand and copy paste code is like drag and drop lol but it's that simple designing a button is fun on that note I use tailwind and don't feel a gravitation to Stylex...
@whitefluffycloud
@whitefluffycloud 6 ай бұрын
Everything about StyleX feels like CSS-in-JS, except that CSS is generated on build rather than using JS on the client to do it. Even leaving the question of performance, I never liked the syntax and the style of theming in this way. Still bullish on CSS modules and utility classes. Bullish on using actual, native CSS, rather than these types of abstraction layers. I think this would replace current CSS-in-JS solutions, not compete with Tailwind and similar libraries.
@fcsie
@fcsie 6 ай бұрын
More javascript... just what the world needs.
@loveyourketo1433
@loveyourketo1433 6 ай бұрын
Exactl what I thought. What’s even wrong with pure css
@heisst
@heisst 6 ай бұрын
I just see another CSS in JS libray
@heisst
@heisst 6 ай бұрын
in terms on usage and implementation
@akshat_tamrakar
@akshat_tamrakar 6 ай бұрын
There is no way I'm using this
@apkargbo
@apkargbo 6 ай бұрын
Threads 2.0
@Karbust
@Karbust 6 ай бұрын
It is similar to the old MUI's v4 withStyles, rather use the new one with styled-components or emotion... In my opinion it isn't a Tailwind competitor, much less a killer...
RIP React? New Qwik Release Is REALLY Interesting
22:32
Theo - t3․gg
Рет қаралды 63 М.
Coding In Powerpoint
17:39
Theo - t3․gg
Рет қаралды 33 М.
WHO DO I LOVE MOST?
00:22
dednahype
Рет қаралды 75 МЛН
I CAN’T BELIEVE I LOST 😱
00:46
Topper Guild
Рет қаралды 54 МЛН
One Script Tag Just Pwn'd Over 100,000 Websites
16:04
Theo - t3․gg
Рет қаралды 77 М.
Facebook Tried Tailwind, Then Built This Instead
28:18
Theo - t3․gg
Рет қаралды 125 М.
We Need To Talk About Ternaries
19:09
Theo - t3․gg
Рет қаралды 79 М.
The Truth About Facebook's "Tailwind Killer"
6:48
Josh tried coding
Рет қаралды 42 М.
Panda is better than you think
23:37
Baptiste Devessier
Рет қаралды 6 М.
UI Libraries Are Dying, Here's Why
13:28
Theo - t3․gg
Рет қаралды 273 М.
Figma 3.0 (Dev Mode, AI, Slides and more)
24:50
Theo - t3․gg
Рет қаралды 9 М.
Current Trends In CSS
15:38
Theo - t3․gg
Рет қаралды 55 М.
Tailwind V4 Is Bigger Than Expected 👀
20:07
Theo - t3․gg
Рет қаралды 118 М.
I'm Terrified This Is Even Possible
8:59
Theo - t3․gg
Рет қаралды 86 М.
Неразрушаемый смартфон
1:00
Status
Рет қаралды 1,9 МЛН
Урна с айфонами!
0:30
По ту сторону Гугла
Рет қаралды 7 МЛН