Skip to content
This repository was archived by the owner on Apr 5, 2018. It is now read-only.

Latest commit

 

History

History
26 lines (13 loc) · 1.18 KB

File metadata and controls

26 lines (13 loc) · 1.18 KB

Languages

Most Common: ES6+ & JSX

ES5

ES5 is fully supported. React can be used without using any new or future JavaScript language features. The documentation has examples for ES5 syntax.

ES6

ES6 is fully supported. React can be used with all new and future JavaScript language features, often alongside a transpilation library. The documentation has examples for ES6 syntax.

TypeScript

React does not provide official type definitions for React, but the community definitions are widely used and actively maintained. Additionally, Microsoft has an official TypeScript-React-Starter project.

Flow

Being a Facebook library like React, Flow is widely used both by the React development team and the community that builds with React.

JSX

JSX was written for and released with React and will be used by most projects using React. While not explicitly required, JSX provides significant productivity boosts and improves code clarity when working with React.

Resource: https://reactjs.org/docs/introducing-jsx.html