How to format and display JSON data using Array.map in Reactjs?
问题 I am trying to display data which is stored as userList state variable. I am trying to map each object and display name and email parameter from each object but it does not display anything on web page I can only see the data using console.log() . I am displaying Users using displayUsers() and getting data from API endpoint using getAllUser() . I think my displayUsers() function is wrong. Code: import React, { Component } from 'react'; import axios, { post } from 'axios'; class App extends