Skip to content
AI-powered appsNewChat, vision, voice, generationBookings & schedulingAppointments that book themselvesShops & sellingA storefront in every pocketClient & businessRun the operation from one placeCommunities & clubsA home that is not a group chat
Health & wellnessHabits, tracking and calmGames2D, 3D and multiplayerPersonal & toolsThe tool you wish existedInternal toolsThe tool ops never had time for
See all use cases
ArcadeNewPricingSecurity
EngineThe game engine and World EditorHow it worksFrom one sentence to a live productDocsGuides for building and publishingBlogStories, guides and newsChangelogWhat shipped latelyStatusUptime of every serviceSupportGet help from the team
AI-powered appsBookings & schedulingShops & sellingClient & businessCommunities & clubsHealth & wellnessGamesPersonal & toolsInternal tools
See all use cases
ArcadeNewPricingSecurity
EngineHow it worksDocsBlogChangelogStatusSupport
Language
Blog
GlossaryNovember 22, 20263 min read

What is React?

React builds interfaces from small reusable pieces that redraw themselves when data changes. The three ideas that explain it, what it does not do, and why it is the default for so many apps.

Startbase Team
Editorial ink illustration of wooden building blocks assembled into a small house, the front door block in ember orange

Key takeaways

  • React is a JavaScript library, created at Facebook in 2013, for building interfaces out of components.
  • Components take props (inputs) and hold state (memory); when state changes, React updates only what changed on screen.
  • React handles the view layer only; routing, styling, data fetching and the backend come from other tools.

Facebook created React in 2013 as an open-source JavaScript library for building user interfaces, and it has since become one of the most widely used ways to make web apps. Its central idea: build the screen from small, reusable components (a button, a product card, a chat message) and describe what each should look like for the current data. When the data changes, React updates the screen for you.

An everyday example: building blocks

With a box of building blocks, you do not carve a house from one piece of wood. You make a window block once and use it twelve times. React works the same way. A `ProductCard` component is written once and rendered for every product in the shop, each with its own name, price and photo. Fix a bug in the card and it is fixed everywhere. Big apps are just components made of smaller components: a `CheckoutPage` contains a `CartList`, which contains `CartRow`s, which contain `QuantityPicker`s.

Three ideas that explain React

  • Components are functions that return what to show. They are written in JSX, which looks like HTML inside JavaScript: `<ProductCard name="Mug" price={18} />`.
  • Props are a component's inputs, passed from its parent. The card above receives `name` and `price`. A component should not change its own props.
  • State is a component's memory: whether a menu is open, what is typed in a search box, how many items are in the cart. Change the state and React redraws the parts of the screen that depend on it.

That last point is the big shift from older web code. You do not write "find the cart badge and set its text to 3." You write "the badge shows `cartItems.length`," and React keeps it true. Fewer forgotten updates means fewer screens showing the wrong number.

What React does not do

React is the view layer only. A real app adds a router for multiple pages, a styling approach, a way to fetch data, a build tool and a backend. That is why you hear React mentioned alongside other names: Vite (build tool), Next.js (a framework built on React that adds routing and server rendering), Tailwind (styling) and React Native (the same ideas for phones, see what is React Native).

Why it matters when building with Startbase

Startbase websites start from Vite 8, React 19 and TypeScript, with Tailwind CSS 4, React Router 7, Motion for animation and Lucide icons. There is no bundled UI kit: the agent builds the components your app needs (web template docs). Because these are standard React projects, the code you download or push to GitHub runs anywhere a normal React app runs. If you open the Code tab, you can mention a component file in chat to target a change precisely.

Make the product card a reusable component used on the home page, the search results and the favorites page. It shows the photo, name, price and a heart button. Out-of-stock products show a grey "Sold out" label instead of the add button. Keep every card in sync when a product is favorited on any page.

Related: responsive design explained and what is TypeScript.

Common confusions

  • React is not a full framework. It is a library for interfaces. Frameworks like Next.js build on it.
  • React is not the same as React Native. They share components, props and state, but React Native draws native phone views instead of web pages.
  • React does not make a site slow or fast on its own. Large images, too much JavaScript and unoptimized data fetching matter far more.

Frequently asked questions

Is React a programming language?

No. It is a JavaScript library. React code is JavaScript or TypeScript, with JSX syntax for describing the interface.

Is React good for SEO?

It can be. Single-page React apps render in the browser, which search engines handle, but adding clear titles, meta descriptions and a sitemap matters more than the framework choice.

On this page

  • An everyday example: building blocks
  • Three ideas that explain React
  • What React does not do
  • Why it matters when building with Startbase
  • Common confusions

Keep reading

More in Glossary
Editorial ink illustration of a hand-cranked music box drum plucking a metal comb, the crank handle in ember orange
GlossaryNovember 22, 2026

What is a game loop?

Every real-time game runs one repeating cycle: read input, update the world, draw it. Here is what that cycle looks like and why it decides how your game feels.

3 min read
Editorial ink illustration of a brass stopwatch beside a small wind-up toy car, the second hand in ember orange
GlossaryNovember 22, 2026

What is delta time?

Delta time is the number that keeps your game the same speed on every screen. Here is how to use it, where it breaks, and how to spot a game that forgot it.

3 min read

Read less. Ship more.

Everything in this post is one prompt away. Describe your app and watch it build.

Start building

Apps, games, backends and publishing from one conversation.

Product

  • Features
  • Use cases
  • Pricing
  • Changelog

Resources

  • Blog
  • Docs
  • Support
  • Status
  • Security

Contact

  • w@startbase.ai
  • X / Twitter
  • LinkedIn
  • Instagram

Legal

  • Terms
  • Privacy

© 2026 Startbase. All rights reserved.