I'm trying to create a map function that supports computing nested arrays, using recursion: This function, when a unidimesional (eg. [1,2,3,4] ) array is used w
I have an onClick in map function, if I click onClick it will change state of all map item not that item which I clicked. I am using useState hook. const [open,