Joined
Last Seen
0 Reputation Points
Unknown Quality Score
No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
0 Endorsements
Ranked #107.80K
1 Posted Topic
How can I open/close a nested list using React, so that when you click on the parent li the children are hidden? Here's what I used to create the list. list.js class List extends React.Component { render(){ return ( <ul> {this.props.list.map(function(item){ return ( <li> <ListItem key={item.id} item={item} /> <List list={item.children} …
The End.
phenny19