About

Tuesday, January 24, 2023

ReactJS Tutorial - 5 - Functional Components


 

The simplest way to define a component is to write a JavaScript function. A valid React component because it accepts a single “props” (which stands for properties) object argument with data and returns a React element. We call such components “function components” because they are literally JavaScript functions.

0 comments:

Twitter Delicious Facebook Digg Stumbleupon Favorites More