Examples of modern redux in action.
Optionally structure dirs in your app into three folders:
- Application : contains business logic, redux store.
- Infrastructure : contains apis
- Presentation : contains React components
This architecture comes with great benefits such as separation of concerns and scalability.
We also try to follow below style of writing code.
- simple state update. Message
- async thunk data fetching Country capital
- run npx json-server --watch data/db.json --port 8000