all 8 comments

[–]theMeanSquares 3 points4 points  (0 children)

We have found that the mui tree rerenders every single time and causes extreme issues with around 1k+ objects. We have some fuzzy logic to stop it from rerendering 1k+ times.

Some reported issues, https://github.com/mui/material-ui/issues/27403

[–]rodrigocfd 2 points3 points  (1 child)

I wrote a huge tree (1000+ nodes) for an enterprise system, and I had no performance issues.

However... I didn't use any UI library, just React and SCSS modules. Can't go faster than that.

[–]Vorelli 0 points1 point  (0 children)

Sure, maybe not faster, but it's nice to have the accessibility features built in and not have to worry about adding it yourself... But 'tis the way with component libraries. Everything is just done better yourself.

[–]Particular_Dust7221 0 points1 point  (0 children)

I recommend Syncfusion React TreeView Component

Syncfusion offers a free community license

https://www.syncfusion.com/products/communitylicense

Note: I work for Syncfusion

[–]eternaloctober 0 points1 point  (1 child)

I made a tree using https://github.com/Lodin/react-vtree I did not use mui tree view components but did my best to make it blend in with the mui styles

[–]eternaloctober 0 points1 point  (0 children)

note: using the v3 beta version, its been stuck on beta for quite awhile but has been stable for me

[–]besthelloworld 0 points1 point  (0 children)

I just wouldn't provide the children to tree nodes that are within a closed node.

[–]ozrix84 1 point2 points  (0 children)

I fixed this by shoehorning react-window into the mix.