AI Hints
Home›React Tutorial›What Comes Next
React · Lesson 118 of 120

The React Ecosystem

Libraries and tools.

⏱ 2 min read▶ Video at 1:38:33🎓 Free
Watch this lesson in the React courseWatch on YouTube ↗Full React course

React focuses on the user interface. Around it is a huge ecosystem of libraries. You don't need them all, but it helps to know the popular ones.

  • React: the UI
  • A huge ecosystem
  • Know the popular ones

TanStack Query handles server data, caching, and refetching. Zustand is a small, simple state store. React Hook Form and Zod handle forms and validation. Tailwind is a popular way to style. And Vitest with Testing Library covers tests.

NeedLibrary
Server dataTanStack Query
Global stateZustand
FormsReact Hook Form + Zod
StylingTailwind CSS
TestsVitest + Testing Library

Choosing libraries

Start with plain React. Add a library when you feel real pain, not before. Prefer popular, well maintained ones. And read their docs, they're usually excellent.

keyvalue
Startplain React
Addwhen it hurts
Preferpopular, maintained
Readthe docs

Summary

Add libraries when you need them, not before. Next, where React is going.

Key takeaways
  • TanStack Query
  • Zustand
  • Tailwind
Next up: Where React Is Going — compiler and server