4 ms·
You can return an array of nodes, with each node having a depth property. Sometimes the client needs it flattened anyways, it is better for normalization.
by joshribakoff 9y ago
You can return an array of nodes, with each node having a depth property. Sometimes the client needs it flattened anyways, it is better for normalization.