Remove a node from a recursive JSON – Reactjs
Below is my recursive structure and I need to remove any node whose id is a match. I have been struggling to get this exactly right for my deleteNode(explorerData, itemId, isFolder) function. This should return me a tree which has…