Getting Started with #ReactJS  via @hongkiat #javascript #FrontEnd #programming #devops
  • The big advantage of JSX is that it lets you include HTML in your JavaScript files, therefore it makes defining React elements easier.
  • A React component is built up of some or many React elements that are the smallest units of React apps.
  • You can use either the classic function syntax or the new ES6 class syntax to define a React component.
  • The first argument of the method consists of the name of our React component ( ), and its props ( , , and ) with their values.
  • The matching HTML page is the following: In the React docs, there are many other cool examples on how to build & manage React components, and what else to know about props.

Read more


@K0YCHEV: “Getting Started with #ReactJS via @hongkiat #javascript #FrontEnd #programming #devops” open tweet »