React: Rendering a method defined inside arrow function?
问题 Hello friends! I hope you are well. I've got an arrow function called WorldInfo and its parent component is passing down an object in props that for the sake of this example, I'm just calling object . Now In WorldInfo I also want to parse and list the items in object , so I've created the method serverInfoTabList to take object and shove it through .map . My problem is when compiled, my browser does not recognize serverInfoTabList either when it's defined nor called in WorldInfo 's own return