This is a solution for the interview test by @berdyshev.
This project was bootstrapped with Create React App.
- The
components
directory contains React components and theirs styles. - Each module in the
modules
contains action type definition, action creators, reducer (exported as default) and selectors to use in the connected components. The reducers from the modules are combined in the root reducer inmodules/index.js
. - The
middleware
directory contains side effects for the app used by redux store. index.js
file in the project's root initialize the redux store and renders App wrapped with redux Provider.
In the project directory, you can run:
Runs the app in the development mode.
Open http://localhost:3000 to view it in the browser.
Launches the test runner in the interactive watch mode.
Builds the app for production to the build
folder.