I have a 3d array where each item is a react component, What is the best practice to slice it?
type1Array: [{..., type2Array: [{..., type3Array:[]}]}]