'How to display a tree-view in React without any library?
I have a react app which has to be displayed in tree-view format.
At the top we should have a parent/root node.When the user clicks on a button the children for that node should be shown(not subchildren , children only). And similarly clicking on a child should show its children components(and so on).The height of the tree is N levels deep where N is between 10-15.
Can someone suggest some resource to implement this?
Implementation to be done without using any kind of library.
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
