Best of Theo - t3․ggMay 2024

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

    React Removes `fetch`

    React version 13 initially caused controversy by overriding fetch on the server, but the React team has now removed this feature. The automatic overriding of fetch improved performance by caching fetch calls within a single request. However, developers now have to manually wrap fetch calls in React Cache to achieve the same caching behavior.

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

    React Just Changed Forever

    React Conf made big announcements about React 19 and the open-sourcing of React Compiler. React Compiler is an experimental build-time tool that optimizes React apps, improving performance and simplifying code. It has already been used in production at companies like Facebook and Instagram. While React Compiler is still experimental, React developers are encouraged to try it out in smaller experiments to provide feedback and improve its stability.

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

    Why Don't We Have A Laravel For JavaScript?

    The JavaScript ecosystem's modular approach allows developers to easily compose and swap out different components, making the need for an all-in-one framework like Laravel unnecessary.

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

    Cool Tools I’ve Been Using Lately

    The author discusses various tools they have been using lately, including drizzle as an alternative to Prisma, Superhuman for email management, Synology DiskStation for storage and server purposes, Rectangle for window management, Pretty TS errors for better error messages, post Hog for analytics, and Arq as a browser.

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

    `const` was a mistake

    The post discusses the difference between const and let in JavaScript, emphasizing that const should be used for actual constants that never change, while let is for variables that can be reassigned. The author also highlights the importance of using const for constant references and variable references. The post concludes with a discussion on object freezing and its implications.