Answer the question
In order to leave comments, you need to log in
API requests in React?
Hello. I am developing an admin panel application. There is a user page. The structure of the module is something like this:
src
-containers
-UsersPage
-components
-UsersList
-UserForm
Answer the question
In order to leave comments, you need to log in
I think that requests should be made using sagas because at some point you will need to make the same request but in a different place and you will need to sort out all the requests in the correct sequence, etc. And you will have to rewrite the query as it should be in sagas. And if you have already started using the technology, then use it throughout the project and not in parts.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question