React

React is a popular JavaScript library for building user interfaces. It is primarily used for creating web applications, but also supports the development of native desktop, mobile, and VR apps.


Details

  • Website react.dev
  • npm package react
  • Weekly downloads 22.77M
  • GitHub stars 222k
  • Related technologies typescriptvite

Getting started with React

React starter (TypeScript) Official Vite template Try on

Start a React project with Vite

npm create vite react-app -- --template react-ts

About React

React’s declarative JSX syntax allows building UI components with a mix of HTML-like markup and JavaScript logic. Its virtual DOM optimizes performance by minimizing direct manipulations of the actual DOM and updating only the necessary parts of the UI when data changes.

Currently, React is one of the most widely-used JavaScript libraries. According to one of the most recent Stack Overflow surveys, it’s the most popular web technology (40.58%), second only to Node.js. It also boasts a vast ecosystem of tools, libraries, and frameworks that extend its capabilities and streamlines development.

React continues to be in high demand in the job market and ranks among the most sought-after skills for front-end developers.

React counter component
import { useState } from 'react'

function App() {
  const [count, setCount] = useState(0)

  return (
    <>
      <button onClick={() => setCount((count) => count + 1)}>
        count is {count}
      </button>
    </>
  )
}
Project title Description
D3 Org Chart React Integration Integration examples to d3-org-chart lib
Pigment CSS Starter Play with Pigment CSS + React on Vite
React Data Table Component React data table component. Search, sort, filter, and expandable rows | Eastcoastdeveloper
React + Vanilla Extract + Open Props typed style dx, scoped output, props for consistency
TanStack Router + typed-rpc + react-api-query TanStack Router With typed-rpc and react-api-query
React can render promises 🤯
Web 3 Authentication Example
Diagram Animation
React + RXJS - Movies Tv Shows Search using React + RXJS
zustand-slices A slice utility for Zustand

Great repositories to play with