Pigment-CSS: Material-UI Fixed on NextJS and React 19

Поделиться
HTML-код
  • Опубликовано: 27 сен 2024

Комментарии • 29

  • @thecodecatalyst
    @thecodecatalyst 6 месяцев назад +9

    A wild CSS library appears!

  • @firstprincipleslearning
    @firstprincipleslearning 6 месяцев назад +3

    Great content as always, I am waiting with my ccard in my hand for your course :D

  • @dc33333
    @dc33333 5 месяцев назад +1

    Wow!!! Production graphics are stunning!!!

  • @xalidmalik5107
    @xalidmalik5107 2 месяца назад

    Thank you for the introduction. Panda CSS already does this in a much better way

  • @adloltery
    @adloltery 6 месяцев назад +3

    Hello Jack, I was wondering if you could please share what React extensions you use in VScode

  • @carlosricardoziegler2650
    @carlosricardoziegler2650 6 месяцев назад +3

    Really nice ! I lke schadcn but miss my styled components :)

  • @Technology_Forum
    @Technology_Forum 6 месяцев назад +1

    What are the different notable vscode plugins you are using

  • @codernerd7076
    @codernerd7076 6 месяцев назад +13

    Sticking to Shadcn, used Material UI before but had so many issues updating, Next.js that I will not use it again.

    • @arrofirezasatria4835
      @arrofirezasatria4835 22 дня назад

      Yes me too, but i have to maintain website using mui, so there is no other choice.

  • @arzievsultan
    @arzievsultan 6 месяцев назад +3

    Thanks!

    • @jherr
      @jherr  6 месяцев назад

      Wowzers. Thank yoU!

  • @jucianocarvalho
    @jucianocarvalho 6 месяцев назад +1

    Rsbuild has a plugin that do the exactly same thing with styled components

  • @jeremytenjo
    @jeremytenjo 6 месяцев назад +6

    MUI ❤

  • @wahabrehman6848
    @wahabrehman6848 2 месяца назад

    Maybe im missing something but your package.json file still states your version is version 18. How are you using v19

    • @jherr
      @jherr  2 месяца назад

      The NextJS package has React 19 bundled into it.

  • @xxXAsuraXxx
    @xxXAsuraXxx 6 месяцев назад +2

    Coming from styled components, I am trying to achieve same thing with just Tailwind css. So far its going good :)

  • @FeFeronkaMetallica
    @FeFeronkaMetallica 6 месяцев назад +1

    But this is not out yet?

    • @olivtassinari
      @olivtassinari 6 месяцев назад +3

      It's in an early preview phase, v0.0.1. We will share more updates as it gets closer to production. We want this to be at least opt-in in Material UI v6 😄

    • @FeFeronkaMetallica
      @FeFeronkaMetallica 6 месяцев назад +6

      @@olivtassinari I will definitelly switch once it is production ready. I have been keeping an eyy on updates from MUI

  • @BenjaminSolum
    @BenjaminSolum 6 месяцев назад

    I really like where this library is headed. Hopefully we'll see an Atomic output option like Linaria!

  • @julianklumpers
    @julianklumpers 6 месяцев назад

    can you use this in MUI v5? as a replacement or something?

    • @LuisVazquez-ky7yb
      @LuisVazquez-ky7yb 6 месяцев назад

      I don't understand the title either. I thought they fixed it but he didn't show anything on mui

    • @olivtassinari
      @olivtassinari 6 месяцев назад +8

      Material UI v5 works with Next.js App Router, and also with suspend streaming.
      We are working on Pigment CSS because we want to drastically improve the runtime performance of Material UI but without forcing a costly migration. The goal is to have this as backward-compatible as possible with Emotion. None of the existing solutions we could test or were aware of would deliver this, so we had to create this library.
      As a side win, this allows us to support RSC for layout components. To be fair, it looks like we could contribute RSC to Emotion (using React.cache()) but not sure if it's worth the opportunity cost yet.

    • @tharindurajarathna
      @tharindurajarathna 6 месяцев назад

      ​@@olivtassinarican you update the material ui documentation with some examples?

    • @olivtassinari
      @olivtassinari 6 месяцев назад +1

      ​@@tharindurajarathnawe will document it, we are still very much dogfooding it right now. It's in the early preview stage.

  • @rrAzz
    @rrAzz 6 месяцев назад

    It's just another css-in-js library, nothing to compare with MUI 👎

    • @jherr
      @jherr  6 месяцев назад +1

      It's from MUI. It probably what the next version of MUI will be built on so that it will be compatible with both RSC and non-RSC frameworks.

    • @mui-jose
      @mui-jose 6 месяцев назад

      Exactly,@@jherr!

    • @coherentpanda7115
      @coherentpanda7115 6 месяцев назад

      It's basically a replacement for Styled Components and (Emotion underneath) since those devs don't seem intent on a version 7 that is app router ready anytime soon. It looks straightforward and light, which is great.