Skip to content

Glossary: React Basics

React Server Components and TanStack Query

Also written: Server Components, TanStack Query

Alternatives to fetching data inside an effect. React Server Components fetch data on the server, while TanStack Query is a library that handles fetching and caching on the client.

Where the book teaches it

Related terms

Next.jsuseEffect