Navigate Select ESC Close

Panda CSS First Impressions | Theo Reacts

2024-02-22 Science & Technology
90.6k
1.7k
261
Theo - t3․gg
Theo - t3․gg
539.0k subscribers

Unlock all features

FREE: Get instant access to 10 AI summaries, chats, or transcripts per day.

Description

Panda CSS is interesting. It takes a lot of lessons from Tailwind and the ecosystem around it. Possibly too many of those ideas... Article: https://newsletter.baptiste.devessier.fr/archive/my-first-impressions-of-panda-css/ Author's Youtube: @baptistedevessier Other sources: https://twitter.com/buildWithKris/status/1751623290110509083 https://windicss.org/features/attributify.html https://github.com/francoismassart/eslint-plugin-tailwindcss Check out my Twitch, Twitter, Discord more at https://t3.gg S/O Ph4se0n3 for the awesome edit 🙏

Top Comments (10)

@TheDudeGPT 2024-02-22

4:53 Panda kicked Theo in the balls Lmfao.

87 2 replies
@dimaorols8143 2024-02-23

There's a TypeScript library for CSS. That's insane.

113 3 replies
@bholmesdev 2024-02-23

“And pressing comma, and pressing enter, and pressing space…” So you prefer React to Svelte becaaaaause?

164 4 replies
@HamP_punipuni 2024-02-22

Thank you for presenting with your views on panda. I love the flexibility it provides and it really shines when you build/use design systems. + Somehow i like my styles in jsx 😂

15
@k-yo 2024-02-23

Would love to hear Theo's take on Adam Argyles's Open Props 👀

6
@everythingisfine9988 2024-02-22

Most of the css I've written, was set it and forget it. But if and when I need to conditionally switch out classes. I'd use a scoped .module.css file and use those classes or update a CSS variable. Tailwind plays nicely with this

16 1 replies
@GdeVseSvobodnyeNiki 2024-02-23

Days without yet another js/css library: 0

32 1 replies
@SnowDaemon 2024-02-22

Great video Theo :) Love your takes!

2
@jenreiss3107 2024-02-23

I ran into the JIT problem when I was trying to use a dependently typed language to generate static types based on a tailwind config file at compile time. I.E. your component takes an enum type ike ("red" | "green" | "blue") as a parameter to determine its color, but that enum is generated through a dependent function like (generateTailwindTypes: (tailwindConfigPath: string) -> Type). the dependent function worked great, but the styles weren't picked up by the compiler because they were generated on the fly

0
@IanJamieson 2024-02-24

When you're applying the recipe, there's a way of adding it directly to the className without using the styled approach. I just can't remember off the top of my head as I'm on my phone.

0

Unlock the Data Inside
Turn Videos into Knowledge

  • Get FREE 10/day: transcripts, summaries, chats
  • Chat with videos, export text & PDF
  • $1 free API credit for RAG, chatbots & research

Free forever plan • All features unlocked

App screenshot