how do i display data retrieved from an api in a table using reactjs?

Instead of self.state.userData = res.data you have to use setState. self.setState({...self.state, userData:res.data}).

CLICK HERE to find out more related problems solutions.

Leave a Comment

Your email address will not be published.

Scroll to Top