Live data from Hacker News

React Arborist – A full-featured tree component for React

github.com

1–10 of 57 posts

Re: React Arborist – A full-featured tree component for React

#7

It looks very cool. However, I didn't see a license file, so I'm reluctant to try it out. Don't want to touch what I can't play with, that's what my momma always told me.

Oh sorry, it is MIT. I'll update the repo.

no need to apologize, I forget it all the time. Rather, I should thank you for making it MIT. Now I can use it if I want to create an electron app with react that can deal with the file system very good.

Re: React Arborist – A full-featured tree component for React

#8

Earlier quoted context omitted.

Oh sorry, it is MIT. I'll update the repo.

no need to apologize, I forget it all the time. Rather, I should thank you for making it MIT. Now I can use it if I want to create an electron app with react that can deal with the file system very good.

You're welcome. I created it for an electron app myself. I needed a sidebar like you see in VSCode.

Re: React Arborist – A full-featured tree component for React

#9

I thought it was going to be a sortable tree-table like MacOS 8. I saw a tree like this in Java Applets in 1994.

Antd offers such a react component, as well as atlaskit

https://codesandbox.io/embed/9b6dxf?codemirror=1

https://atlassian.design/components/table-tree/examples

Re: React Arborist – A full-featured tree component for React

#10
Very sad to discover that this is NOT a ready made component to display actual trees. What a deceitful name!

Jokes apart, nice library. Will try it out sooner or later. May I suggest to not use children as the prop to Ps the Node component? Maybe a more explicit NodeComponent prop would have been better imho.

Post reply on HN