T
T
TheRevan2018-07-27 06:08:53
JavaScript
TheRevan, 2018-07-27 06:08:53

Where to put the request logic on the server in React?

I am designing an application. There is such a file structure: joxi.ru/EA4R8v8iwvgN5m ... Where should I send requests to the server to get results? Also interested in the question - how can I write all the routers into variables and then loop through and display all of them?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
M
Maxim, 2018-07-27
@TheRevan

All routes into an array - https://github.com/artbocha/react-redux-reactRoute...
and then just run through it - https://github.com/artbocha/react-redux-reactRoute...
Requests to server - in actions

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question