Relative Content

Tag Archive for reactjsfetchrender

React js not fetching and rendering after importing data

I fetch from db new data and render (setState) after importing excel data, problem not working. I have played around to trying to get it working so copied the fetch from getItems to simplifiedFunction. I had also problem when starting the rendering was in infinite loop, but then I added a parameter (value) to control when to fetch. In the code there is also a excel export, that works fine .I’m a beginner with React js
App.js