DEV Community

Saif Al Siam
Saif Al Siam

Posted on

React Components #day32

100daysofcode #day32

React Components and Props
=>Components let you split the UI into independent, reusable pieces, and think about each piece in isolation.
Conceptually, components are like JavaScript functions. They accept arbitrary inputs (called “props”) and return React elements describing what should appear on the screen.
Image description

DEVcommunity

javascript #react #programming

Discussion (0)