React logo

React

A JavaScript library for building user interfaces
171.7K
137.9K
+ 1
4.1K

What is React?

Lots of people use React as the V in MVC. Since React makes no assumptions about the rest of your technology stack, it's easy to try it out on a small feature in an existing project.
React is a tool in the Javascript UI Libraries category of a tech stack.
React is an open source tool with 220K GitHub stars and 44.9K GitHub forks. Here’s a link to React's open source repository on GitHub

Who uses React?

Companies
11754 companies reportedly use React in their tech stacks, including Uber, Airbnb, and Facebook.

Developers
145310 developers on StackShare have stated that they use React.

React Integrations

Firebase, Font Awesome, Redux, Sentry, and Socket.IO are some of the popular tools that integrate with React. Here's a list of all 400 tools that integrate with React.
Pros of React
827
Components
671
Virtual dom
578
Performance
506
Simplicity
442
Composable
185
Data flow
166
Declarative
127
Isn't an mvc framework
119
Reactive updates
115
Explicit app state
49
JSX
29
Learn once, write everywhere
22
Easy to Use
21
Uni-directional data flow
17
Works great with Flux Architecture
11
Great perfomance
10
Javascript
9
Built by Facebook
8
TypeScript support
6
Server Side Rendering
6
Speed
5
Feels like the 90s
5
Excellent Documentation
5
Props
5
Functional
5
Easy as Lego
5
Closer to standard JavaScript and HTML than others
5
Cross-platform
5
Easy to start
5
Hooks
5
Awesome
5
Scalable
4
Super easy
4
Allows creating single page applications
4
Server side views
4
Sdfsdfsdf
4
Start simple
4
Strong Community
4
Fancy third party tools
4
Scales super well
3
Has arrow functions
3
Beautiful and Neat Component Management
3
Just the View of MVC
3
Simple, easy to reason about and makes you productive
3
Fast evolving
3
SSR
3
Great migration pathway for older systems
3
Rich ecosystem
3
Simple
3
Has functional components
3
Every decision architecture wise makes sense
3
Very gentle learning curve
2
Split your UI into components with one true state
2
Recharts
2
Permissively-licensed
2
Fragments
2
Sharable
2
Image upload
2
HTML-like
1
React hooks
1
Datatables
Decisions about React

Here are some stack decisions, common use cases and reviews by companies and developers who chose React in their tech stack.

Shared insights

I have got a small radio service running on Node.js. Front end is written with React and packed with Webpack . I use Docker for my #DeploymentWorkflow along with Docker Swarm and GitLab CI on a single Google Compute Engine instance, which is also a runner itself. Pretty unscalable decision but it works great for tiny projects. The project is available on https://fridgefm.com

See more
Priit Kaasik
Engineering Lead at Katana MRP · | 8 upvotes · 347K views
Shared insights
at

We undertook the task of building a manufacturing ERP for small branded manufacturers. We needed to build a lot, fast with a small team, and have clear focus on product delivery. We chose JavaScript / Node.js ( React + LoopBack full stack) , Heroku and Heroku Postgres (also Heroku Redis ) . This decision has guided us to picking other key technologies. It has granted us high pace of product delivery and service availability while operating with a small team.

See more
Cyril Duchon-Doris
Shared insights
on
RollbarRollbar
at

After splitting our monolith into a Rails API + a React Redux.js frontend app, it became a necessity to monitor frontend errors. Our frontend application is not your typical website, and features a lot of interesting SPA mechanics that need to be followed closely (many async flows, redux-saga , etc.) in addition to regular browser incompatibility issues. Rollbar kicks in so that we can monitor every bug that happens on our frontend, and aggregate this with almost 0 work. The number of occurrences and affected browsers on each occurence helps us understand the priority and severity of bugs even when our users don't tell us about them, so we can decide whether we need to fix this bug that was encountered by 1k users in less than a few days days VERSUS telling this SINGLE user to switch browsers because he's using a very outdated version that no one else uses. Now we also use Rollbar with Rails, Sidekiq and even AWS Lambda errors since the interface is quite convenient.

See more
Martin Johannesson
Senior Software Developer at IT Minds · | 14 upvotes · 2.8M views
Shared insights
at

At IT Minds we create customized internal or #B2B web and mobile apps. I have a go to stack that I pitch to our customers consisting of 3 core areas. 1) A data core #backend . 2) A micro #serverless #backend. 3) A user client #frontend.

For the Data Core I create a backend using TypeScript Node.js and with TypeORM connecting to a PostgreSQL Exposing an action based api with Apollo GraphQL

For the micro serverless backend, which purpose is verification for authentication, autorization, logins and the likes. It is created with Next.js api pages. Using MongoDB to store essential information, caching etc.

Finally the frontend is built with React using Next.js , TypeScript and @Apollo. We create the frontend as a PWA and have a AMP landing page by default.

See more
Needs advice
on
ReactReact
and
Vue.jsVue.js

I find using Vue.js to be easier (more concise / less boilerplate) and more intuitive than writing React. However, there are a lot more readily available React components that I can just plug into my projects. I'm debating whether to use Vue.js or React for an upcoming project that I'm going to use to help teach a friend how to build an interactive frontend. Which would you recommend I use?

See more
Needs advice
on
ReactReact
and
Vue.jsVue.js

From a StackShare Community member: “My company has a Back Office Dashboard that was originally built in AngularJS 1. We are looking to upgrade it. I hear a lot about React and Vue.js, but not sure which one to pick."

See more

Blog Posts

JavaScriptGitHubReact+12
5
4116
Oct 11 2019 at 2:36PM

LogRocket

JavaScriptReactAngularJS+8
5
1951
GitHubDockerReact+17
40
36097
JavaScriptGitHubNode.js+29
14
13377

React's Features

  • Declarative
  • Component-based
  • Learn once, write anywhere

React Alternatives & Comparisons

What are some alternatives to React?
Angular
It is a TypeScript-based open-source web application framework. It is a development platform for building mobile and desktop web applications.
Vue.js
It is a library for building interactive web interfaces. It provides data-reactive components with a simple and flexible API.
Ember.js
A JavaScript framework that does all of the heavy lifting that you'd normally have to do by hand. There are tasks that are common to every web app; It does those things for you, so you can focus on building killer features and UI.
NativeScript
NativeScript enables developers to build native apps for iOS, Android and Windows Universal while sharing the application code across the platforms. When building the application UI, developers use our libraries, which abstract the differences between the native platforms.
jQuery
jQuery is a cross-platform JavaScript library designed to simplify the client-side scripting of HTML.
See all alternatives

React's Followers
137949 developers follow React to keep up with related blogs and decisions.