🎴 Flashcard Mode

React Components and Props

Card1 / 15
Mastered0
Review0
QuestionClick to flip

What is the primary purpose of using components in React?

AnswerClick to flip back
A
To reuse code and enhance modularity
💡 Explanation:

Components in React are designed to promote code reusability and modularity. They allow you to break down your UI into smaller, independent units that can be reused across different parts of your application.

Change Mode