AI Hints
Home›React Tutorial›Frameworks and Habits
React · Lesson 85 of 120

Frameworks

Next.js and others.

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

React is a library for building user interfaces. Frameworks build on it, adding routing, data loading, server rendering, and server components, all set up for you.

  • React: the UI
  • Frameworks: the rest
  • Set up for you

Next dot j s is the most popular full framework, with server components built in. React Router can run as a full framework too. TanStack Start is a newer option. And plain Vite is perfect for apps that only run in the browser.

OptionBest for
Next.jsfull apps, server components
React Routerrouting first, full stack
TanStack Starttype safe, full stack
Vitebrowser only apps

How to choose

Learning, or building a dashboard behind a login? Start with Vite. Need search engines to see your pages, or want server components? Pick a framework. Everything you've learned here works in all of them.

keyvalue
LearningVite
Behind a loginVite
Public pages, SEOa framework
Your skillswork everywhere

Summary

Frameworks add routing, data, and servers on top of React. Next, common mistakes.

Key takeaways
  • Next.js
  • React Router
  • Vite
Next up: Common Mistakes — and fixes