Which are the valid components in ReactJS?

36. Which are the valid components in ReactJS?

  1. Variable components
  2. Function components
  3. Class components
  4. Both A. and B.
  5. 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

Comments and Discussions!

Load comments ↻






Copyright © 2024 www.includehelp.com. All rights reserved.