DevPick.io

<report best open source project>

react made by facebook

The library for web and native user interfaces.

👨🏻‍💻

Summary

I think it's a good project so I recommend it to you.

React · GitHub license npm version CircleCI Status PRs Welcome

React is a JavaScript library for building user interfaces.

  • Declarative: React makes it painless to create interactive UIs. Design simple views for each state in your application, and React will efficiently update and render just the right components when your data changes. Declarative views make your code more predictable, simpler to understand, and easier to debug.
  • Component-Based: Build encapsulated components that manage their own state, then compose them to make complex UIs. Since component logic is written in JavaScript instead of templates, you can easily pass rich data through your app and keep the state out of the DOM.
  • Learn Once, Write Anywhere: We don't make assumptions about the rest of your technology stack, so you can develop new features in React without rewriting existing code. React can also render on the server using Node and power mobile apps using React Native.

Learn how to use React in your project.

Installation

React has been designed for gradual adoption from the start, and you can use as little or as much React as you need:

You can use React as a <script> tag from a CDN, or as a react package on npm.

Documentation

You can find the React documentation on the website.

Check out the Getting Started page for a quick overview.

The documentation is divided into several sections:

You can improve it by sending pull requests to this repository.

Examples

We have several examples on the website. Here is the first one to get you started:

import { createRoot } from 'react-dom/client';

function HelloMessage({ name }) {
  return <div>Hello {name}</div>;
}

const root = createRoot(document.getElementById('container'));
root.render(<HelloMessage name="Taylor" />);

This example will render "Hello Taylor" into a container on the page.

You'll notice that we used an HTML-like syntax; we call it JSX. JSX is not required to use React, but it makes code more readable, and writing it feels like writing HTML. If you're using React as a <script> tag, read this section on integrating JSX; otherwise, the recommended JavaScript toolchains handle it automatically.

Contributing

The main purpose of this repository is to continue evolving React core, making it faster and easier to use. Development of React happens in the open on GitHub, and we are grateful to the community for contributing bugfixes and improvements. Read below to learn how you can take part in improving React.

Code of Conduct

Facebook has adopted a Code of Conduct that we expect project participants to adhere to. Please read the full text so that you can understand what actions will and will not be tolerated.

Contributing Guide

Read our contributing guide to learn about our development process, how to propose bugfixes and improvements, and how to build and test your changes to React.

Good First Issues

To help you get your feet wet and get you familiar with our contribution process, we have a list of good first issues that contain bugs that have a relatively limited scope. This is a great place to get started.

License

React is MIT licensed.

Developers

  • developer acdlite

  • developer aweary

  • developer benjamn

  • developer bvaughn

  • developer chenglou

  • developer cpojer

  • developer dependabot[bot]

  • developer eps1lon

  • developer flarnie

  • developer gaearon

  • developer gnoff

  • developer jimfb

  • developer kassens

  • developer koba04

  • developer kohei-takata

  • developer lunaruan

  • developer marocchino

  • developer mondaychen

  • developer necolas

  • developer nhunzaker

  • developer petehunt

  • developer rickhanlonii

  • developer sebmarkbage

  • developer sophiebits

  • developer subtlegradient

  • developer syranide

  • developer trueadm

  • developer vjeux

  • developer yungsters

  • developer zpao

Who like it

  • developer 14790897

  • developer abdallahmekky

  • developer acsalvesd

  • developer adminfsy

  • developer aiazt

  • developer alexdeng-ai

  • developer andreafan123

  • developer andymcgunagle

  • developer anthony95macias

  • developer aoirint

  • developer ashkanjaycob

  • developer beeoutloud

  • developer binadiegha

  • developer birkaany

  • developer brenaki

  • developer chrispeterjeyaraj

  • developer colson0x1

  • developer delta1035

  • developer dev-x-innovate

  • developer dev-zidxne

  • developer dgw2030521

  • developer domsmith343

  • developer ducdevcomplicated

  • developer edwingrow

  • developer enkhbold470

  • developer farildev

  • developer fernandomessias

  • developer gabrielfernandes7

  • developer garnergu

  • developer geega

  • developer githot-code

  • developer gogetteryoungun

  • developer gowthu97

  • developer hasanalkaf3

  • developer hunterking467

  • developer irusucyrene

  • developer jakevwood

  • developer jayonkeys

  • developer jc-noel

  • developer jeremyaldama

  • developer jong9810

  • developer kagami-tsukimura

  • developer kaushik1094

  • developer kawsar-95

  • developer keanu-sida

  • developer kernelsafe

  • developer khandu-utkarsh

  • developer kimsoyol

  • developer ksandin

  • developer kumar-swaraj

  • developer lazy29

  • developer lulunac27a

  • developer luray1225

  • developer marciopocebon

  • developer matheeshapathirana

  • developer mdmoinulhossain

  • developer meilinch123

  • developer mishkozyr

  • developer mllejezebel

  • developer mohamed-alsaeed

  • developer mori30r

  • developer mygithubs163

  • developer oldschool1705

  • developer peter-ukandu

  • developer philipppollmann

  • developer pispros

  • developer pmgbadante

  • developer postpcera

  • developer pratixmistry

  • developer princenigam228

  • developer profdenilsongoncalves

  • developer renatfakhrutdinov

  • developer rhuansantoss

  • developer romankukurudziak

  • developer sajidhgn

  • developer sam355

  • developer shirentang

  • developer shuklaabhishek99

  • developer sinewang

  • developer sneakyanimeow

  • developer stefdegroot

  • developer stephenwu5

  • developer stepuntik

  • developer strawcapzoroo

  • developer t407o

  • developer tommyshado

  • developer travismmu094

  • developer ubiquitousidea

  • developer venishjoe

  • developer willow61

  • developer wizkhalifa64

  • developer xfathurrahman

  • developer xinguangduan

  • developer xt1213

  • developer yagyaraj234

  • developer yalamoussa

  • developer zafercaliskan

  • developer zagadou27

  • developer zhenyagro

  • developer zsq541012232