Newbie React question about Component children in React

Newbie React question about Component children in React
0.0 0

#1

Hi, I was able to understand recently and implement nested components in React, but not able to understand about the Children components and couldn’t really find anything on the web that explains it in depth. Nested components and children components are not quite the same thing right? Thanks for your help in advance.


#2

AFAIK, they are the same thing. The child (and it’s descendants) are nested in the parent. The perhaps subtle difference is that if you are talking about parent/child you are only talking about two vertically adjacent elements in the hierarchy. “Nested” could refer ten thousand.