Best of Theo - t3․ggApril 2024

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

    The Correct Base Font Size

    This post discusses the ideal base font size, the advantages of using relative units for font sizes, and offers tips for making text fields more usable and accessible. It also highlights the importance of respecting user preferences and following WCAG standards.

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

    From 0 to Production - The Modern React Tutorial (RSCs, Next.js, Shadui, Drizzle, TS and more)

    This post is a production-ready React tutorial that showcases how to build production apps using the T3 stack, Next.js, and various other technologies. It also includes recommended hosting solutions and introduces the concept of server components in Next.js.

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

    How To Center A Div

    Learn different methods to center divs in CSS, including using auto margins, flexbox, and CSS grid. Understand the situations in which each method is most suitable and how to center text. Gain a deeper understanding of CSS layout algorithms to come up with solutions on the fly.

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

    Facebook wrote a language just for React (it's pretty cool)

    Facebook has introduced new language features in Flow specifically for React, including a new component syntax, improved safety with deep read-only props, enforcing best practices with refs, hook syntax, and render types. These features make it easier to write high-quality React code and enforce React rules at a language level.

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

    Vercel Gave Up On Edge

    Vercel is moving away from Edge rendering and reverting back to using Node.js runtime. They are experimenting with partial pre-rendering for better performance. The post also discusses the challenges of running compute close to the database and the complexities of global data replication.