Skip to content
Advertisement

Tag: arraylist

Create complex array from array in React

Thats the original array I have from backend and now I want to build something like this: So the chartDatasets will be datasets and the chartLabels will be labels.. I think this is pretty easy but I don’t know how I can do it. I’m saving the original array in state so.. Thanks Answer If you have to modify single

Advertisement