Earlier quoted context omitted.
Awesome to hear that you found it useful. 1. Splitting folders entrypoints — very nice idea! For now i feel it a bit cryptic. 2. Router is the thing we want to tinker with. Gonna give a look into your solution. 3. At first we had all API interactions in separate folder, and truth to be told it was not very handy. That always felt like one more file to keep track of. Maybe our current design is a a flaw. Open question…
> 3. At first we had all API interactions in separate folder, and truth to be told it was not very handy. That always felt like one more file to keep track of. Maybe our current design is a a flaw. Open question. The common pattern I've seen is: - Dispatch simple actions that contains 'just' a URL - Have a middleware to take those actions, make the API call (based on the URL in the action), and then dispatch further…
PS You are also welcome to PR =)