
React – A JavaScript library for building user interfaces
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 …
學習指南:React 介紹
React 是什麼? React 是一個陳述式、高效且具有彈性的 JavaScript 函式庫,用以建立使用者介面。 它讓你使用小巧而獨立的「component」,來建立複雜的 UI。 React 有數種不同的 …
開始 – React
不管你是想初步嘗試 React、在簡單的 HTML 網頁上加入互動性,或是實作一個使用 React 驅動的複雜應用程式,這章節裏的連結會幫助你開始。
Lists and Keys - React
If you choose not to assign an explicit key to list items then React will default to using indexes as keys. Here is an in-depth explanation about why keys are necessary if you’re interested in …
Accessibility – React
Our React applications continuously modify the HTML DOM during runtime, sometimes leading to keyboard focus being lost or set to an unexpected element. In order to repair this, we need to …
Styling and CSS – React - reactjs.org
Note that this functionality is not a part of React, but provided by third-party libraries. React does not have an opinion about how styles are defined; if in doubt, a good starting point is to define …
Hello World – React
In this guide, we will examine the building blocks of React apps: elements and components. Once you master them, you can create complex apps from small reusable pieces.
Test Utilities – React
We recommend using React Testing Library which is designed to enable and encourage writing tests that use your components as the end users do. For React versions <= 16, the Enzyme …
State and Lifecycle – React
In React apps, whether a component is stateful or stateless is considered an implementation detail of the component that may change over time. You can use stateless components inside …
Design Principles – React
We wrote this document so that you have a better idea of how we decide what React does and what React doesn’t do, and what our development philosophy is like.