The Truth About Facebook's "Tailwind Killer"

  Рет қаралды 43,395

Josh tried coding

Josh tried coding

Күн бұрын

Пікірлер: 178
@joshtriedcoding
@joshtriedcoding Жыл бұрын
Happy holiday season everyone!!! Hope you have a great time with your families
@naushadhaq2859
@naushadhaq2859 Жыл бұрын
Same to you josh, happy holiday and love from Nepal
@gofudgeyourselves9024
@gofudgeyourselves9024 Жыл бұрын
We don't have holidays in India
@Stoney_Eagle
@Stoney_Eagle Жыл бұрын
I ditched material ui for tailwind, I will probably never use stylex. I am tired of creating whole object structures for styles and tailwind has a class merge library I can use.
@lulungsatrioprayuda9931
@lulungsatrioprayuda9931 Жыл бұрын
with my soul yeah ofc im totally agree your opinion mate
@leonardoparisi8263
@leonardoparisi8263 Жыл бұрын
I totally agree too
@supermamoru
@supermamoru Жыл бұрын
I even ditched CSS for Tailwind
@Metruzanca
@Metruzanca Жыл бұрын
Same. I also prefer that tailwind is framework agnostic, meanwhile stylex is yet another emotion-like library built for react. I'm kinda done with react on personal projects and wish I could stop using it at work (solidjs ftw!), so I'd like my main styling tool to be framework agnostic.
@yoyo26-34
@yoyo26-34 Жыл бұрын
got same sensation, that styleX is similar to MaterialUI in styling. Seems therefore useless. But might be wrong
@khaledsanny4817
@khaledsanny4817 Жыл бұрын
I will never go back to "thinking hard" about naming classes
@mostafarezaie-yt
@mostafarezaie-yt Жыл бұрын
Same here
@iamghezali
@iamghezali Жыл бұрын
in my opinion, after trying tailwind, this was the real reason i didn't go back to regular css or styled components. naming classes when you have a complex html structure is pain in the asssss, you try to find class name for something that doesn't have any logic.. i apply variants using data attributes as selectors, i don't do merging, the claass string is complicated but i think this would be solved not by a library but instead with editors tools, like some extension to group separately the breakpoint classes and the data attribute selectors ... i reallly want to work on an extension to do that
@Anas_Alaqeel
@Anas_Alaqeel Жыл бұрын
I dont know why everyone complaining about naming, its the most easiest thing ever, you dont even need to think, just write it as a description for the element. If you cant do the easiest thing in programming, how you will even will become a programmer!
@iamghezali
@iamghezali Жыл бұрын
@@Anas_Alaqeelit can get complicated when you don't want to do scoping and it brings cascading issues
@mostafarezaie-yt
@mostafarezaie-yt Жыл бұрын
@@iamghezali really?
@TomNook.
@TomNook. Жыл бұрын
This is why I value you over certain more popular influencers... you show, not tell. If you've got an opinion, prove it with the code. Others rarely do this.
@mertdr
@mertdr Жыл бұрын
I really don’t know why some youtubers (surprisingly Theo as well) are so excited to adopt new libraries and “kill” stable ones. StyleX is pretty much the same with RN’s Stylesheet module and CSS IN JS modules of other js libraries. Anyways, thanks for your input and nice explanation, happy holidays mate! Edit: apparently stylex has a few useful stuff under its sleeve like dropping unused classes at build time or spreading style.create with predefined classes. In other words, it would be unfair to say that it brings nothing new to the table. But still jumping back and forth between the html element and styling (in same or different file) is the last thing I want to do after Tailwind’s magic.
@Nab_001
@Nab_001 Жыл бұрын
exactly, it may seem okey ,everyone has an opinion but believe me newbies after learning basic HTML CSS and JS will have a nightmare to choose their next step, Thousands of Libraries/Frameworks for JS and for CSS, Even for HTML leading to Giving up learning. and the cause of this nightmare are some youtubers that we take as a reference. *Guys We Don't Need Any New Technologies And Syntaxes, We Need Implementing Solutions To Already Existing Open Source Technologies.*
@pheisar
@pheisar Жыл бұрын
YT content creators make videos about anything related to their channel theme/topic. They are not 'adopting' anything. They just creating content to make money.
@fancybaguette
@fancybaguette Жыл бұрын
They make their titles provocative so more people click on the video
@mertdr
@mertdr Жыл бұрын
@@Nab_001 honestly I wouldn’t want to be a newbie nowadays. First I read an article or watch a video claims that there will be no programming jobs in 5 years due to AI (fat chance), then I watch a video says “hey! It’s time to replace your favorite tool which was released just a few months ago with a new one!”. Not surprising if beginners are having a hard time.
@joshtriedcoding
@joshtriedcoding Жыл бұрын
I believe one great approach StyleX takes is creating a css file instead of injecting at runtime like emotion does. For me, tailwind feels more natural to use too, though it's awesome to see other approaches to solve essentially the same problem. Cheers man!
@ElieRosie
@ElieRosie Жыл бұрын
I think Tailwindcss is still the 👑. In my opinion StyleX is just similar to styled component🤔
@zcehtro
@zcehtro Жыл бұрын
I find it so hard to believe that so many KZbinrs covering StyleX are treating it like revolutionary new technology and reviewing it like something new and completely ignoring that the technology actually came from react native, also by Facebook.
@_jb5261
@_jb5261 Жыл бұрын
StyleX reminds me of the ReactCss package. I don’t see stylex being needed for most use cases other than in large projects/orgs where a custom design system is needed. Probably won’t ever use it other than to test it out, but it seems pretty cool though pretty cool though
@mjdev-i1p
@mjdev-i1p Жыл бұрын
I work with JS, CSS, HTML and other languages for over 15 years now and I think since react less and less devs actually understand CSS
@bryandieber4871
@bryandieber4871 Жыл бұрын
sometimes It's doesn't matter if devs understand css
@chrisr2063
@chrisr2063 Жыл бұрын
I disagree. I spent alot of time converting vanilla to tailwind/bootstrap and it greatly increased my understanding and element usage
@AbrahaMiles
@AbrahaMiles Жыл бұрын
There is a css selector called data-* , the * means you can call it as you want in html and pass everything to it. You can then use css to select this case and apply specific style without having to create a class. I feel css in js libraries try to solve an issue that does not exist
@otto3225
@otto3225 Жыл бұрын
Well said!
@landonwjohnson
@landonwjohnson 4 ай бұрын
The real benefit for me with StyleXJS is that it’s much easier to bundle and deploy as a npm package, rather than rolling up something like tailwind or styled components. That’s actually the only thing I care about, is building design systems that can be installed as npm packages using StyledXJS. Other than that, I probably wouldn’t care about it.
@FirstnameLastname-cl4op
@FirstnameLastname-cl4op 11 ай бұрын
When i adopted the tailwind css it significantly reduced the time i spent on designing, it's the major reson for me to use the tailwind, now i can deliver projects faster
@jameskayihura1675
@jameskayihura1675 Жыл бұрын
Hey I don't agree with you about the highlighted text color example at 3:36. Why would someone try to apply two different colprs on the same html element? It doesn't make any sense, that's why in my humble opinion TailwindCss displays a lint error.
@weeb3277
@weeb3277 Жыл бұрын
5:00 in your example you made it seem like the default is white, while it's variant is blue or red. of course the default is text color, while variants are background colors. so in your example the default is actually background color "none" and not white. what an odd example. not sure if this is what you were going for.
@thomasspornraft2612
@thomasspornraft2612 Жыл бұрын
I care more about what colors, fonts, spacing, margins, and borders I use than how I apply them. Most approaches are fine for me and i will give stylex a try, but I prefer Tailwind atm because of its headless approach and similarity to plain CSS.
@unforgettable31
@unforgettable31 Жыл бұрын
Something I don't understand is what's special about this library when react already has style that has like the same syntax?
@fra4897
@fra4897 Жыл бұрын
okay so in practices they have css classes but defined in js with all the benifits with that but that gets compiled into css so no slowdown - great!
@stacked-dev
@stacked-dev Жыл бұрын
Stylex is same as Stylesheet in RN and it has to do nothing with tailwind css
@tannercottle
@tannercottle 9 ай бұрын
Sooo... React Native Stylesheet?
@andrewtfluck
@andrewtfluck Жыл бұрын
This isnt even the first time this was done. Very similar library called treat does this very similarly
@yytffs
@yytffs Жыл бұрын
Stylex looks like a big ass javascript css object. Why should I use it? Why can’t I just use plain object?
@zebedie2
@zebedie2 Жыл бұрын
For tailwind there's tailwind merge and tailwind cva for that sort of thing, stylex seems a lot like vanilla-extract / pandacss with vanilla-extract one downside is that the styles need to be in they're own seperate code file, with pandacss creating libraries using it can be a bit compliated due to the way it generates the css.
@Luxcium
@Luxcium Жыл бұрын
These videos are just too much awesome 🎉and I try not to post too many comments but I just am unable not to be amazed by the quality of this young KZbinr because of his communication skills… I hope you guys all will agree with me that Josh is underrated and that he will soon become one of the most influential people on KZbin I have a lot of respect for many KZbinrs but Josh your energy is very appreciated and your way of being straightforward and direct is what I love the most but not only 😅😅😅❤
@SamHartmannCom
@SamHartmannCom Жыл бұрын
0:55 Cool, so we basically bring HTML into jsx?! 👎👎
@otto3225
@otto3225 Жыл бұрын
Imho to just wright CSS is the best solution for 90 % of my projects. To make it more complicated just makes it more complicated. Tailwind reminds me of times where we used font tags and later inline styles ...
@ORiastanjung
@ORiastanjung Жыл бұрын
Hi Josh, i want to ask something, when we use ISR in nextjs and set the revalidate like 60 seconds, if I create data in database, then I go to for example user page by id, even though the revalidate not touching the 60 seconds can i read the new user from the database? or it should like wait for 60 sec to get the data from db to the build page? need some explanation please
@xrexy
@xrexy Жыл бұрын
The "alternative_highlited" example could also be done with Tailwind with class-variance-authority(cva). It's actually what some ui libraries like ShadCN use for their variants!
@riyaadhabrahams
@riyaadhabrahams Жыл бұрын
Agreed. I was immediately thinking just do cn("text-red-500", "text-blue-500")
@rand0mtv660
@rand0mtv660 Жыл бұрын
@@riyaadhabrahams your example assumes cn() function does Tailwind class merging using tailwind-merge. Someone reading this might think that this will just work because text-blue-500 is after text-red-500, but that's not how CSS works unfortunately. My point is, this is not an out of the box experience with Tailwind and requires additional setup. I don't consider it complicated, but just wanted to mention it for anyone reading.
@RohitKumar-xs3wh
@RohitKumar-xs3wh 11 ай бұрын
Tailwind is not going anywhere, will still use it every time, its pure joy and power, my UI's are great since i started using tailwind.
@marvinkr
@marvinkr Жыл бұрын
I don't get it , we already have cn, tailwind-merge & cva for that? Not sure about the use case for Style X.
@_ingadi
@_ingadi Жыл бұрын
Maybe it just being regular CSS means you can throw in something like Open Props by Adam Argyle to provide good looking defaults. It has text, gradients, shadows e.t.c. implemented as CSS props.
@keremgurbuz3210
@keremgurbuz3210 Жыл бұрын
Hey bro, have you heard the clsx or twMerge ?
@ThunderboltPath
@ThunderboltPath Жыл бұрын
Very informative, ty Josh!
@magicfibre
@magicfibre Жыл бұрын
Doesn't this look exactly like Material UI 4 + clsx?
@Anas_Alaqeel
@Anas_Alaqeel Жыл бұрын
Some day everyone will back to use normal css file
@waleedsharif618
@waleedsharif618 Жыл бұрын
How would conditional styling work with this new stylex ?
Жыл бұрын
stylex.props(someCondition ? styles.theStyleYouWantToApply : null) This, along with "last applied styles always wins" makes this such a fantastic predictable library to write scalable css with and a lot of people seem to be sleeping on it. If you've ever tried to make conditional styles, or overwriting styles using something like panda or tailwind, you'll know how painful that gets real quick.
@NamanGoel34
@NamanGoel34 Жыл бұрын
condition && style
@Marhaenism1930
@Marhaenism1930 Жыл бұрын
stylex.props(isActive ? style.active : style.inactive)
@HikaruAkitsuki
@HikaruAkitsuki Жыл бұрын
Is that how Emotion CSS works?
@linshen4658
@linshen4658 Жыл бұрын
StyleX also mitigates the name mapping between classname and final css rules.
@joshtriedcoding
@joshtriedcoding Жыл бұрын
true!
@rutvikjr8251
@rutvikjr8251 Жыл бұрын
I think we can build amazingly by using both tailwind and stylex in one project.
@nattawodsatee4068
@nattawodsatee4068 Жыл бұрын
I use tailwind variants and pretty much doing the same
@Code_Czar
@Code_Czar Жыл бұрын
Hell no 😂, wayyyyyyy to complicated tailwind css will always be the win for me
@ITentrepreneur
@ITentrepreneur Жыл бұрын
Will we see StyleX in your next X-clone projects?!
@b5fw6jg7
@b5fw6jg7 Жыл бұрын
The overriding ability will let more unused Css to be there in the app. This is why I loved Tailwind as it highlights duplicacy and reduces the amount of unused Css.
@DeveloperLeon
@DeveloperLeon 11 ай бұрын
I'm pretty sure that StyleX drops the unused stuff from the final css output. At least their Docs suggest this is the case.
@omar.alhendi
@omar.alhendi Жыл бұрын
How is Style X different from Mantine's V6 way of styling ?
@Zephury
@Zephury Жыл бұрын
stylex compiles it all down to regular css. it looks and feels like css-in-js, without any of the downfalls that css-in-js came with. stylex is actually quite a big game changer, people just dont like new things. it looks and feels familiar, which is a good thing in my opinion. It also compiles the css in an intelligent manner, resulting in small, performant css bundles
@404nnotfoundd
@404nnotfoundd Жыл бұрын
i think tailwind is much readable
@awaisraza2285
@awaisraza2285 Жыл бұрын
No way near to kill tailwind. I am not gonna make whole big object of styles and put it in elements. It will make the component uglier and i don't want ugly code. Tailwind is super cool ND with shadcn-ui it has become a giant and go to css framework for developers.
Жыл бұрын
Uglier? You mean uglier than the bootstrap like class-puking that is tailwind? Yeah no. Now looking at tailwind might be a trade off some people are willing to make, but if I'm gonna stare at code for 80+hrs a week it's gonna be good looking, like css-in-js is.
@_ivanoleksiuk
@_ivanoleksiuk Жыл бұрын
styleX is completely different to styled-components because former is not loaded at runtime as the latter does
@tuananhdo1870
@tuananhdo1870 Жыл бұрын
But the developer experience is the same. Tailwind is the best dx
@mabdurrafeyahmed9256
@mabdurrafeyahmed9256 Жыл бұрын
this method looks like react native stylesheet
@traam_889
@traam_889 Жыл бұрын
true, like they are just playing around at this point. they make new stuff just for the sake of making stuff
@anlukinha8764
@anlukinha8764 Жыл бұрын
How do you render your code animations? They are pretty good!
@anlukinha8764
@anlukinha8764 Жыл бұрын
Wait a sec... Is that powerpoint morph transition!?
@joshtriedcoding
@joshtriedcoding Жыл бұрын
@@anlukinha8764 almost, it's keynote!
@anlukinha8764
@anlukinha8764 Жыл бұрын
@@joshtriedcoding thx, always following ur content. Greetings from Brazil o/
@codegamer69
@codegamer69 Жыл бұрын
looks similar to react native styles on the first look.
@michaeledison1974
@michaeledison1974 Жыл бұрын
3:33 what is the point of adding 2 text colours (text-blue-400 and text-red-400) to one HTML element?
@DevZoom7
@DevZoom7 Жыл бұрын
when you have a custom component that has some default tailwind classes and that component can accept more classes as a prop, this will may cause to have 2 classes of the same thing (color for example) I'm not a tailwind_css user, correct me if I'm wrong : -- )
@deronek
@deronek Жыл бұрын
@@DevZoom7 This is what "cn" utility function and "tailwind-merge" library is used for in defining components. You can easily create a component which defines all of its default styling, but when additional classes are passed by props, they are always overriding the default ones if any conflicts arise.
@hhhhhhhhhhhhhhhhhhhhhh
@hhhhhhhhhhhhhhhhhhhhhh Жыл бұрын
@@deronek But that is not a native feature of Tailwind. Yes, you can fix it with tailwind-merge, but that is another library you need to install to get the same functionality that StyleX has. Definitely not a deal breaker, but that's the point that is trying to be raised.
@deronek
@deronek Жыл бұрын
@@hhhhhhhhhhhhhhhhhhhhhh yes, valid point that it's not included in Tailwind and needs to be added in 3rd party code while being crucial to usability of Tailwind
@ricardocnn
@ricardocnn Жыл бұрын
Tailwind was a game changer, styleX is just another css in js. Nothing new.
@blueprint7000
@blueprint7000 Жыл бұрын
React native styling but in web .. Insteresting
@portalpacific4500
@portalpacific4500 Жыл бұрын
I dont get how its any better than using traditional classes and raw css lmfao. Im so confused.
@yowremco
@yowremco Жыл бұрын
Let's be honest. Litterly no one who works at a big company that provide some sort of SaaS is going to migrate from styled components or some other solution to StyleX. Heck even stuff like Tailwind is really not used a lot in such corp projects. Some side project sure.
@JlNGLEZ
@JlNGLEZ Жыл бұрын
You didnt mention the primary benefit onlf styleX, its compile time based, meaning it will output only the styles needed, unlike styled components like emotion, i also dont understand how you think spreading props into jsx is more readable then named compoennts, you literally end up repeating a lot of logic just to apply styles, i also cant stand writing css in object notation, it wont convert me from emotion just yet 😂
@danguiismaelkone08
@danguiismaelkone08 Жыл бұрын
it's like RN ? i think
@mqh20
@mqh20 Жыл бұрын
Tailwind works fine so no reason for me to go for styleX
@rozrewolwerowanyrewolwer391
@rozrewolwerowanyrewolwer391 Жыл бұрын
Imo styled-components is more readable. Btw. 1:15 this code doesn't make any sense and is bugged. You cannot pass boolean as prop to styled component. I see stylex as worse younger brother of styled-components
@mulfyx
@mulfyx Жыл бұрын
u can
@rozrewolwerowanyrewolwer391
@rozrewolwerowanyrewolwer391 Жыл бұрын
@@mulfyx yhym. Did you test it? You will get console error.
@mulfyx
@mulfyx Жыл бұрын
@@rozrewolwerowanyrewolwer391 check example on main page bro 💀
@SamuelKarani
@SamuelKarani Жыл бұрын
Why I am only seeing KZbinrs excited by style x? Are they just excited to teach a new course? Who is actually interested interested in going back to styles in js?
@neerosity
@neerosity Жыл бұрын
better to use CSS3, tailwindcss is used so that we don't have to define classes from scratch, no meaning of using it to make code more complex.
@AbdelhakNASSEUR
@AbdelhakNASSEUR Жыл бұрын
seems like react native styling brought to the web
@pascal5016
@pascal5016 Жыл бұрын
Can you make a KZbin clone?
@yajirushik2871
@yajirushik2871 Жыл бұрын
I don't get it. It looks like a styled-components, I personally love that styling but learned Tailwind and it's much more easier without overcomplicating things IMHO it's the best solution for writing clean components / web components. What's the point of rewind?
@IqtidarHussain-f5v
@IqtidarHussain-f5v Жыл бұрын
I will probably never use stylex. I am tired of creating whole object structures for styles and tailwind has a class merge library I can use.
@juanjosecruzortiz111
@juanjosecruzortiz111 Жыл бұрын
I honestly think that people in general should stop using Facebook's shit like react or this piece of garbage.
@be2wa
@be2wa Жыл бұрын
Kyle's clickbaity thumbnail made a perfect opportunity for a revenge, didn't it ;)
@hirwaaldo529
@hirwaaldo529 Жыл бұрын
I think Stylex will not replace Tailwind because Tailwind is easier to use than Stylex 💯.
@whatisnextthen9836
@whatisnextthen9836 Жыл бұрын
this is similar to how react native styles work
@greenshaheen
@greenshaheen Жыл бұрын
sorry to say styleX is the worst invention of 2023
@erickmoya1401
@erickmoya1401 Жыл бұрын
Pure css over whatever is not really better or different. Tailwind is different. Like it or not. StyleX is just complexity for the sake of it.
@vibestation23
@vibestation23 Жыл бұрын
styleX is just styled component
@onlyvisage
@onlyvisage Жыл бұрын
TailwindCSS on Top for ever
@robert-m6u7d
@robert-m6u7d Жыл бұрын
Having to remember class names is what I dislike about Tailwind/Bootstrap/etc. Building customizable UI libraries is impossible with Tailwind if you don’t use ShadCN logic.
@michael.knight
@michael.knight Жыл бұрын
Tailwind uses classnames that map almost 1:1 (not perfectly of course) to CSS properties, so you don't really have to learn anything new as is the case with something like Bootstrap.
@robert-m6u7d
@robert-m6u7d Жыл бұрын
@@michael.knight It still doesn’t solve the library issue, which is extremely important.
@joshtriedcoding
@joshtriedcoding Жыл бұрын
fair enough, one huge benefit is that while you do have to remember classes, you don't have to name them yourself
@syth-1
@syth-1 Жыл бұрын
I think it's an issue of exposure, everything is a Google search away, as long as you know what you want, but the equivalent in tailwind. The more you use it, the more you get better at it, the easier it becomes and less you rely on searching for the tailwind equivalent, Atleast that has been my experience,
@tuananhdo1870
@tuananhdo1870 Жыл бұрын
Yous memory s bad
@brunoguerra7160
@brunoguerra7160 Жыл бұрын
talks about PandaCSS!
@krishnabhandari007
@krishnabhandari007 Жыл бұрын
Tailwind css is the best
@ScriptCodec
@ScriptCodec Жыл бұрын
Finally the world is going on X direction 😂😂
@Elanowebdes
@Elanowebdes Жыл бұрын
I style prefer Sass :/ I hate Tailwind... but at least it looks less bad than Tailwind so that's a +
@derciojds
@derciojds 10 ай бұрын
Tailwind sucks, anybody defending it has skill issues.
@baudys_dev
@baudys_dev Жыл бұрын
I like tailwind way more :D
@iury664
@iury664 Жыл бұрын
i were not able to do a flag of my country kkkkk dammit
@pavlovalor
@pavlovalor Жыл бұрын
Tailwind is a piece of shit. I reject applicants if they use tailwind or anything else than raw css or sass.
@dawitminale2775
@dawitminale2775 Жыл бұрын
Big shoutout for your awesome skills! 🚀 Your work is seriously top-notch, and I'm loving every bit of it. 🌟 could you make us a video on a project with next js + express js in ts?
@unathorizedbargain8862
@unathorizedbargain8862 Жыл бұрын
there wont be a tailwind killer for a while
@traam_889
@traam_889 Жыл бұрын
dude, for real how is it different from me defining a const styles = { // CSS styles here //} and just spreading the styles.key in the style prop of the element, we don't need more front-end libraries in my opinion tbh
@anushkasharma3736
@anushkasharma3736 Жыл бұрын
Man its boring stuff that you apply styles like react native stylesheet. I will not gonna use stylex I love tailwind
@abdullah_mufti
@abdullah_mufti Жыл бұрын
stylex is not a good alternative it is just like bringing threads app to replace twitter,
@brayan_joan
@brayan_joan Жыл бұрын
Idk man, stylex is useless when exists something like shadcn
@localusercamp
@localusercamp Жыл бұрын
twMerge leaves the chat
@pete531
@pete531 Жыл бұрын
I dont like it, why re-invent the wheel
@apkargbo
@apkargbo Жыл бұрын
Threads 2.0
@ddkinput
@ddkinput Жыл бұрын
Tailwind killer ? not even close mate it is a lot complicated. you are talking about React css framework not css framework
@ridass.7137
@ridass.7137 Жыл бұрын
where this overriding-inline-classes thing came from? It never was like this in HTML, stop creating fake naratives
@krishnachaitanya5905
@krishnachaitanya5905 Жыл бұрын
Supperrrr
@yaznbook1
@yaznbook1 Жыл бұрын
cool
@WingStopUS
@WingStopUS Жыл бұрын
Definitely not a tailwind killer imo
@backupmemories897
@backupmemories897 Жыл бұрын
as tailwind user this is meh xD
@mcha_yt
@mcha_yt Жыл бұрын
Tailwindcss> stylex
@alexanderleschanz9991
@alexanderleschanz9991 Жыл бұрын
second! I love your vids btw
@oskarhertzman9811
@oskarhertzman9811 Жыл бұрын
SCSS Modules is still the unofficial king for me, clean css classnames and little to no worry for conflicting names. People should learn to write real css classes, much more portable than if you were to use tailwind for example, and had to port. For instance, lets take Header.module.scss as an example: * Has the power of SASS * Ensures no className collisions * Doesn't convolute your CSS with terrible backtick-JS-in-CSS or object spreading which just looks plain ugly * Oh and the few guys in your team who love and breathe CSS will be happy to actually have CSS files that every IDE knows how to deal with * It keeps your files more specialized, not a mixed bag of HTML, JavaScript, and CSS. CSS does not belong in my JavaScript code.
@incarnateTheGreat
@incarnateTheGreat Жыл бұрын
I was asked to use SCSS for a take-home test the other day. While I was reluctant because I wanted to use Tailwind, what I enjoyed was the modular separation that didn't allow for collisions (if you used class names and not tag names). I'll still use Tailwind these days, or maybe give StyleX a go, but overall I had missed using SCSS and appreciated its quick compile time.
@gpenner
@gpenner Жыл бұрын
I watched just to support the channel, don’t like StyleX and won’t be using it. Tailwind and Nativewind all the way here
@imransefat8770
@imransefat8770 Жыл бұрын
Kids, remember StyledComponents
Updates Like These Make Tailwind So Fun
8:00
Josh tried coding
Рет қаралды 75 М.
Facebook Tried Tailwind, Then Built This Instead
28:18
Theo - t3․gg
Рет қаралды 130 М.
The evil clown plays a prank on the angel
00:39
超人夫妇
Рет қаралды 53 МЛН
黑天使被操控了#short #angel #clown
00:40
Super Beauty team
Рет қаралды 61 МЛН
Meta's "Tailwind Killer" Is Almost Perfect...
13:39
Conner Ardman
Рет қаралды 7 М.
Facebook's Tailwind Killer Is Now Open Source
11:17
Theo - t3․gg
Рет қаралды 101 М.
I Found The Most Underrated Animation Library
6:25
Josh tried coding
Рет қаралды 44 М.
Why is everyone talking about Tailwind?
4:57
Theo - t3․gg
Рет қаралды 72 М.
My Favorite Open-Source Next.js Project for 2024
17:33
Josh tried coding
Рет қаралды 35 М.
My Favorite Tech Stack for 2024
10:05
Josh tried coding
Рет қаралды 40 М.
LocalStorage was a mistake...
5:33
Josh tried coding
Рет қаралды 52 М.
Use these instead of vh
6:06
Kevin Powell
Рет қаралды 525 М.
I'm Never Using React Router Again
13:12
Josh tried coding
Рет қаралды 59 М.
The Better Way to Load Images
8:46
Josh tried coding
Рет қаралды 54 М.
The evil clown plays a prank on the angel
00:39
超人夫妇
Рет қаралды 53 МЛН