MUI V5: The SX Prop

แชร์
ฝัง
  • เผยแพร่เมื่อ 12 ม.ค. 2025

ความคิดเห็น • 57

  • @mykhailoshchuka5366
    @mykhailoshchuka5366 2 ปีที่แล้ว +4

    A few months ago I started learning MU using a tutorial from another blogger. I started and finished it. It was disgusting and I lost interest in MU. But now I'm learning MU again and I'm happy that I found your course. Wonderful! You not only speak clearly and consistently, but also energetically. This is very motivating!

  • @teewhy3828
    @teewhy3828 2 ปีที่แล้ว

    Im going through all your MUI v5 videos. They have all been extremely helpful. thank you

  • @jensthomas1300
    @jensthomas1300 ปีที่แล้ว

    Really clear and concise explanations - thank you!

  • @Anne-cv4ms
    @Anne-cv4ms 2 ปีที่แล้ว

    Thank you! I learned much more through your explanations than with the docs only :)

  • @mchirag82
    @mchirag82 2 ปีที่แล้ว +3

    Love your videos.
    Can you make one on navbars? With login and logout configs along with a kbar search box if that makes sense. I really like how you break things down into the concepts instead of doing an app walkthrough. Much more re-usable.

  • @ramialkhateeb4395
    @ramialkhateeb4395 2 ปีที่แล้ว +2

    Finally you have a lesson for that 😁 Also it would be very useful if you record a video to how can we upgrade our projects from version 4 to 5 🌸

    • @AnthonySistilli
      @AnthonySistilli  2 ปีที่แล้ว +2

      For sure! Will have tons of MUI videos coming out, I'll try to cover that as well. Great suggestion! :)

  • @iamtheasad
    @iamtheasad 2 ปีที่แล้ว

    Your video is good to understand. I am learning so much valuable things from your video. Thank you so much Anthony. Love from #Bangladesh

  • @jasonwiesner5539
    @jasonwiesner5539 2 ปีที่แล้ว

    Thanks for these awesome videos! Looking forward to more.

  • @manuelpineda9067
    @manuelpineda9067 ปีที่แล้ว

    Great tutorial and explanation, man!

  • @MrGuysmo92
    @MrGuysmo92 ปีที่แล้ว

    Thanks for this video.
    Could you link the video where you speak about the styled() function please ? 00:50

  • @theseanmodd
    @theseanmodd 2 ปีที่แล้ว

    thank you so so much bro. please create the videos on MUI and media queries and theming!! You're really good at this!!

    • @AnthonySistilli
      @AnthonySistilli  2 ปีที่แล้ว +1

      That's def on the list! Itll be there within the next weeks!

    • @theseanmodd
      @theseanmodd 2 ปีที่แล้ว

      @@AnthonySistilli thank you bro. Seriously you’re amazing. MUI + Redux Toolkit + NextJs + Supabase as the backend would make for the most comprehensive and straight-forward fullstack tutorial session ever. Just saying… I’d 100% pay you or donate substantially for a super video on that!

    • @AnthonySistilli
      @AnthonySistilli  2 ปีที่แล้ว

      @@theseanmodd Haha I'd have to look a bit into supabase but I'll add it to my list! Might be a while though :D

  • @amarmusovic7748
    @amarmusovic7748 9 หลายเดือนก่อน

    Great video! Thanks for making this! The whole series is great. Learned a couple of things I didn't know, passing an array of style objects to the "sx" prop, for instance... 👌 The docs are super thorough, I know, but a video is just less boring IMO.
    I have a question for more experienced devs. Is using the "sx" prop for all the styling considered a bad practice? It's not intended to be used like that, I think, but I don't seem to be running into opportunities to reuse a lot of the CSS I'm writing in an app I'm building... 🤔🤔

  • @soltiscd
    @soltiscd 2 ปีที่แล้ว

    Mui5 is such a need!

    • @AnthonySistilli
      @AnthonySistilli  2 ปีที่แล้ว

      Haha yes it is! I will be putting out a lot more MUI 5 videos

  • @ErikAkerman
    @ErikAkerman 2 ปีที่แล้ว +1

    Yes! Thank you. I almost feel like the old "makestyles" way of doing things seemed way better. I found myself typing sx props all over the place, so my code is a mess.

    • @AnthonySistilli
      @AnthonySistilli  2 ปีที่แล้ว +1

      Haha yeah! Really gotta watch what you use it for :)

  • @keepforever726
    @keepforever726 2 ปีที่แล้ว +1

    I haven't been able to find where in the documentation it tells you to put the "&" in front of selectors (i.e. '&.MuiButton-root': {...} ).
    I've sruggled to know how to compose the selectors. Could you point me to a good resource to look to understand this?

    • @AnthonySistilli
      @AnthonySistilli  2 ปีที่แล้ว

      mui.com/material-ui/customization/how-to-customize/#overriding-styles-with-class-names :) Sorry for the delay!

  • @xsrpma
    @xsrpma 2 ปีที่แล้ว

    sx as a first lesson is a bit risky as a start xD. You start with a very high curve. Thanks for showing the best of sx

    • @AnthonySistilli
      @AnthonySistilli  2 ปีที่แล้ว

      Haha yeah! I'm going to reorder the playlist once I have a bunch of videos done though :D

  • @jetmartin9501
    @jetmartin9501 2 ปีที่แล้ว

    Thanks. Super helpful stuff.

  • @miladg5999
    @miladg5999 ปีที่แล้ว

    awesome explanation thanks

  • @reedschrichte800
    @reedschrichte800 2 ปีที่แล้ว

    HI, I missed your link to the responsive - media query video, can you post it? Thanks!

  • @RunItBackVALORANT
    @RunItBackVALORANT 2 ปีที่แล้ว

    Sick video!!

  • @waleedsharif618
    @waleedsharif618 2 ปีที่แล้ว

    I have two questions:
    1: sx prop is an object, can we just have a reference to object instead of having inline ? Like this
    reference to style
    2:can we use sx prop to non mui for example in a normal div ? non mui , or is it must to be from mui ?

  • @user-qg7lb1jx8b
    @user-qg7lb1jx8b ปีที่แล้ว

    Nice work!

  • @umerkhan-zo3sy
    @umerkhan-zo3sy 2 ปีที่แล้ว

    I am trying to access this class" MuiTypography-body1 " to change the fontFamily using the sx prop but unable to do that. Can you help please.

  • @ibnahmed19
    @ibnahmed19 ปีที่แล้ว

    Is it possible to change the breakpoint values in the sx prop? say instead of sm being 600px, I want it to be 640px.

  • @piotrszymanski8325
    @piotrszymanski8325 2 ปีที่แล้ว

    G8 Vid! Can you point it out which video you are talking about while mentioning about reusable styled component?

    • @AnthonySistilli
      @AnthonySistilli  2 ปีที่แล้ว +1

      I believe it was an older video related to MUI 4 where I sort of mentioned it in passing and showed an example, but I will be making a new one in the upcoming weeks on the MUI v5 styled components as well!

  • @botino-k
    @botino-k ปีที่แล้ว

    high level content💪

  • @waleedsharif618
    @waleedsharif618 2 ปีที่แล้ว

    Is it bad to use sx prop in big project instead of its styled component ?

  • @FreeSudani
    @FreeSudani 2 ปีที่แล้ว

    is having access to the theme the only difference between sx prop and style prop ? , coz for specific customization i always used the style prop.

    • @AnthonySistilli
      @AnthonySistilli  2 ปีที่แล้ว +1

      That and a couple short hand things specifically for MUI components that the style prop doesn't have! Like `m` for margin, and a lot of theme (color, spacings, font) integrations

  • @mariolazzari
    @mariolazzari 2 ปีที่แล้ว

    Brillant!

  • @reedschrichte800
    @reedschrichte800 2 ปีที่แล้ว

    Very useful! But is media query still your main tool for responsive styling?

  • @JohnMihalik1
    @JohnMihalik1 ปีที่แล้ว

    So helpful!

  • @johnnytringuyen3382
    @johnnytringuyen3382 2 ปีที่แล้ว

    Dear sir, i cant use primary color when using makestyle in miu v5. Can you make video about that, please

    • @AnthonySistilli
      @AnthonySistilli  2 ปีที่แล้ว

      For sure! I will make one in general about theming!

    • @johnnytringuyen3382
      @johnnytringuyen3382 2 ปีที่แล้ว

      @@AnthonySistilli ohhh custom theme, dark mode and light mode plsss
      Tks sir so much

    • @AnthonySistilli
      @AnthonySistilli  2 ปีที่แล้ว

      @@johnnytringuyen3382 :D

  • @Pareshbpatel
    @Pareshbpatel 2 ปีที่แล้ว +1

    Very educational. Thanks
    {2022-04-04}

  • @JaimeLopez-Hidalgo
    @JaimeLopez-Hidalgo ปีที่แล้ว

    Coor viedo 😃

  • @youtubepublic2582
    @youtubepublic2582 2 ปีที่แล้ว

    Yes u r back

  • @asifuzzamanbappy1297
    @asifuzzamanbappy1297 2 ปีที่แล้ว

    did you really say bikini bottom?! 😁cool cc vid btw :)

  • @SaidBara03
    @SaidBara03 ปีที่แล้ว

    thanks G

  • @arda7506
    @arda7506 2 ปีที่แล้ว

    great

  • @youssefkhaled1189
    @youssefkhaled1189 หลายเดือนก่อน

    algorithm comment

  • @ryangotesman1020
    @ryangotesman1020 2 ปีที่แล้ว

    Lets talk about sx

  • @haralc
    @haralc 2 ปีที่แล้ว

    I'm a little bit confused about 'sx'. After watching half-way through this video, I'm still confused! .... bye!