Best of Theo - t3․ggDecember 2024

  1. 1
    Video
    Avatar of t3dotggTheo - t3․gg·1y

    Tailwind just broke a TON of websites...

    Tailwind CSS recently faced an issue where custom text selection colors broke in the latest version of Chrome (131). This problem arose due to changes in Chrome's handling of CSS variables and selection properties. Although quickly addressed, the incident highlights the complexities of web development and browser compatibility, emphasizing the need for cautious use of advanced CSS features. Fixes include using specific Tailwind settings or waiting for Chrome updates.

  2. 2
    Video
    Avatar of t3dotggTheo - t3․gg·1y

    I might have a new favorite state manager...

    Introducing xstate store, a new state management tool that offers a modern, lightweight approach combining the best features from libraries like zustand and Redux toolkit. It excels in type inference, separation of context and transitions, and provides an upgrade path from simple stores to more complex state machines. xstate store is also framework-agnostic, which simplifies logic separation from the UI layer.

  3. 3
    Video
    Avatar of t3dotggTheo - t3․gg·1y

    I love Tailwind, but this is scary...

    Tailwind CSS V4 introduces several changes and improvements, including moving to Lightning CSS for better performance, adding CSS-first configuration, and supporting radial and conic gradients. However, some features have raised concerns such as the impact of using CSS variables on performance, potential maintainability issues with descendant and child variants, and the use of double-star selectors. Critical feedback highlights the need for caution in adopting these new features to ensure code maintainability and performance.

  4. 4
    Video
    Avatar of t3dotggTheo - t3․gg·1y

    Prisma is removing Rust?

    Prisma is transitioning its core logic from Rust to TypeScript to improve performance, extensibility, and community contributions. This move aligns with Prisma's new manifesto aimed at setting clear priorities and managing issues effectively. The manifesto also highlights a commitment to supporting first-class databases, ensuring smooth integration and compatibility for future developments. Additionally, Prisma plans to remain engaged with the community through transparent communication and regular updates.