You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
By adding the below conditional near the top of render() method in node.js, the tree will avoid rendering the entire node and will simply render the children if it is the first tree node. This effectively skips rendering of the first node, but still renders its children.
Thank you so much for this wonderful library! I'm getting this to work really well for my use-case. I have one problem to ask:
Currently,
tree
requires an initial first node withchildren
e.g.I want to be able to just render the flat entries (excluding
rootFolder
)Here is my codesandbox.io: https://codesandbox.io/s/j35ynz58q9.
I tried to play around with
data.js
but I could not get it to work well for me. Please let me know what I have to do to get this working. Thank you!The text was updated successfully, but these errors were encountered: