Best of Theo - t3․ggSeptember 2024

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

    Why Everyone Loves Zustand

    Zustand is a state management library for React that simplifies state management with a small and efficient API. Unlike Redux, Zustand reduces boilerplate and offers a React hook-based solution. This post dives into using Zustand to refactor an application named Teemo, demonstrating how to instantiate and access state in a more straightforward manner. Zustand's advantages include its small package size, ease of setup, and ability to prevent unnecessary re-renders by selecting specific state slices. The post also briefly touches on the author's experiences with state management in a more complex app and comments on the use of context and middleware.

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

    ShadCLI: Rethinking UI Libraries

    ShadCLI offers a revolutionary way to install and manage UI components in your projects, ensuring you maintain code ownership. It supports various React frameworks, simplifies dependency management, and provides an easy CLI for code distribution. This new approach allows seamless integration, customization, and updates without compromising project integrity.

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

    We stopped using serverless. The results are insane.

    Upload Thing V7 drastically improves file upload speeds, making uploads five times faster. Major changes include seamless pausing and resuming of uploads, integration support for Remix, and the transition from relying on direct S3 uploads to a custom upload server, simplifying the process and enhancing control. This update reduces the number of steps and requests needed, enhances security, and unlocks new features like bring-your-own-bucket and better file validation.

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

    A PHP framework just raised a bunch of money

    Laravel, a popular PHP framework, has raised $57 million to develop a new platform. This move, backed by the VC firm Accel, signifies a significant shift for Laravel, previously self-funded and profitable. Laravel Cloud aims to offer a comprehensive infrastructure solution for developers. The announcement has sparked discussions about the impact of VC funding on open-source projects, drawing parallels to similar developments with the JavaScript framework Vercel.

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

    My Browser Got Hacked

    A user shares their experience of their browser, Arc, being hacked due to a Firebase security vulnerability. The hacker, known as Eva, exploited Arc's use of Firebase for authentication and boost features, allowing arbitrary JavaScript to run on any user's browser by manipulating the Creator ID. Despite initial shortcomings, Arc responded by increasing the bug bounty, moving off Firebase, and implementing stricter security measures.