- Components are the basic building blocks of React apps. The React component can be created using a JavaScript function or the ES6 class.
- The props and state are the input data for rendering the component. They are JavaScript objects, and the component is rerendered when the props or state change.
- The data flow goes from the parent component to the child.
- The components that only have props are called stateless components. The components that have both props and a state are called stateful components.
- JSX is the syntax extension for JavaScript, and it is recommended that you use it with React.
- The component life cycle methods are executed at certain phases of the component's life cycle.
- Handling events in React is similar to handling DOM element events. The difference in React is that event naming uses the camelCase naming convention—for example, onClick...
United States
Great Britain
India
Germany
France
Canada
Russia
Spain
Brazil
Australia
Singapore
Hungary
Ukraine
Luxembourg
Estonia
Lithuania
South Korea
Turkey
Switzerland
Colombia
Taiwan
Chile
Norway
Ecuador
Indonesia
New Zealand
Cyprus
Denmark
Finland
Poland
Malta
Czechia
Austria
Sweden
Italy
Egypt
Belgium
Portugal
Slovenia
Ireland
Romania
Greece
Argentina
Netherlands
Bulgaria
Latvia
South Africa
Malaysia
Japan
Slovakia
Philippines
Mexico
Thailand