Home »
MCQs »
ReactJS MCQs
Which are the valid components in ReactJS?
36. Which are the valid components in ReactJS?
- Variable components
- Function components
- Class components
- Both A. and B.
- Both B. and C.
Answer: E) Both B. and C.
Explanation:
There are two types of components in ReactJS, which are:
- Function components
- Class components