I would like to request a new feature that can convert flat array objects into tree-like data. I believe this is a common and interesting feature.
I believe Radash can provide a better function for constructing tree-like data (compared to writing it ourselves), and it would be beneficial for other JavaScript developers to learn.
Thank you.
I would like to request a new feature that can convert flat array objects into tree-like data. I believe this is a common and interesting feature. I believe Radash can provide a better function for constructing tree-like data (compared to writing it ourselves), and it would be beneficial for other JavaScript developers to learn. Thank you.
For example, given the following original data,
I hope to get the following result: