Quantcast
Channel: using axios and Redux to manage JSON data - Stack Overflow
Browsing all 2 articles
Browse latest View live

Answer by Dale Baldwin for using axios and Redux to manage JSON data

You could move the JSON out of the public folder and just import it into your app.If you want to do it in redux using axios then having an action handle the API call is the best way to do it.I would...

View Article



using axios and Redux to manage JSON data

I have a JSON file in the public folder and would like to use the data throughout the react app. I'm using axios in App.js but don't know the best way to store the data received in the state. I was...

View Article
Browsing all 2 articles
Browse latest View live




Latest Images