Best of React HooksNovember 2022

  1. 1
    Article
    Avatar of tkdodoTkDodo·4y

    Working with Zustand

    Zustand provides a simple API to create global state stores and subscribe to them via selectors. It provides the bear minimum to get you started (hence the logo), and it's flexible enough to scale to your needs. It doesn't track which fields you are using like other libraries do - you have to subscribe "

  2. 2
    Article
    Avatar of asayerasayer·4y

    Understanding React's useRef() hook

    A built-in React hook called useRef accepts one argument or parameter as its initial value. This tutorial will look at a demo that accepts user input and saves it in a reference, or ref, while building a simple task app with TypeScript.

  3. 3
    Article
    Avatar of twirThis Week In React·4y

    This Week In React #125: tRPC, T3, Remix, Zustand, Server Components, Drag & Drop, Forms, Gatsby, Remotion, React-Native, Skia...

    This Week in React #125: tRPC, T3, Remix, Zustand, Server Components, Drag & Drop, Forms, Gatsby, Remotion, React-Native, Skia. This week is Black Friday. I created a page with the best deals for a React dev.

  4. 4
    Article
    Avatar of freecodecampfreeCodeCamp·3y

    React Testing Library Tutorial – How to Write Unit Tests for React Apps

    The React Testing Library has a set of packages that help you test UI components in a user-centric way. This means it tests based on how the user interacts with the various elements displayed on the page. To set up a React Project with Vite, we'll be using Vite to set up our app that we'll test.