array-to-tree
array-to-tree copied to clipboard
[feature request] deep-each-function
arrayToTree(dataTwo, {
parentProperty: 'parent',
customID: '_id',
each:(node)=>{
// here i can do some things. like choice the right node to an other list
}
});
this options we can choice some node but no need to deep traverse the whole tree.
That's a great idea! I'll take a look into it
any way to archive that?