What is a React Node?


A react node is a node in the React DOM tree.

Data Type

A node may have the following data type:

  • a React Portal (floating element)
  • and the base Javascript data type: string, number, boolean, null or undefined.

How to loop?

You can loop through the tree and node with the React.Children.map function.

Discover More
What is a React Element?

An element is a node in the React tree (React DOM implementation) that has a type and props. component getting started createElementjsx filescreateElement e A counter component with a useState...

Share this page:
Follow us:
Task Runner