DEV Community

Discussion on: React Project Structure Best Practices for Scalable Application

Collapse
 
pranjalagnihot8 profile image
Pranjal Agnihotri {..❤️}

Thanks for sharing the structure, I had only one issue if we are using Redux Saga then I prefer writing our API calls in saga files, instead of writing in it Services as response from API are stored in the redux state. So it becomes more easier in Saga.

Collapse
 
syakirurahman profile image
Syakir Rahman

Yeah, that's another case if you use redux saga.
services folder function can be replaced by redux saga, so you dont have to include it anymore.

Some comments have been hidden by the post's author - find out more