Answer the question
In order to leave comments, you need to log in
Where in react + redux SPA to write a request to the REST API?
Good afternoon.
I am learning the technologies required for a full stack js developer.
For practice, I am writing a todo list application. I wrote REST API on node.js+mongo and SPA on react+redux. Now I'm going to link them, and hence the questions. How SPA should interact with REST API? Where specifically to write fetch, in reducers?
Answer the question
In order to leave comments, you need to log in
Disappear Middleware. There is a very simple and popular redux-thunk library .
Article on this topic.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question