Converts an array of items with ids and parent ids to a nested tree in a performant `O(n)` way. Runs in browsers and node.
- array to tree
- list to tree
- View more
React HOC and helper for complex layouts. When layouts get complex and you have to write a lot of jsx over and over again, this approach may help reuse layouts in a readable way.