Reading_Notes

View the Project on GitHub Hiba-Almade/Reading_Notes

Introduction to React and Components

What is a component?

What is Props?

React is a component-based library which divides the UI into little reusable pieces. In some cases, those components need to communicate (send data to each other) and the way to pass data between components is by using props.

How are props used in React?

What are the charactistics of a component?

photo