Built using react-floki
-
API calls using Api Sauce
Take a look at the following files
-
Side effects using Redux Saga
Take a look at the following files
-
Global state management using Redux Sauce
Take a look at the following files
-
Computing and getting state from the redux store using Reselect
Take a look at the following files
-
Styling components using Styled Components
Take a look at the following files
-
Reusing components from Ant design
Take a look at the following files
-
Translations using React Intl
Take a look at the following files
-
Routing is done using React Router
Take a look at the following files
- @app -> app/
- @containers -> app/containers/
- @components -> app/components/
- @services -> app/services/
- @utils -> app/utils/
Take a look at the following files
Take a look at the following files
Take a look at the following files
Components, containers, tests and stories can be scaffolded using
yarn generate
For documentation take a look at: react-floki
- For github pages to work on an arbitrary route we have the used some workarounds.
For production builds deployed directly on
/
you need to make the following changes- publicPath: process.env.NODE_ENV === 'production' ? '/react-template/' : '/'
should be:
publicPath: '/'
- relativePaths: process.env.NODE_ENV === 'production'
should be:
relativePaths: false,
- const history = createBrowserHistory({ basename: baseUrl });
should be:
const history = createBrowserHistory();
- publicPath: process.env.NODE_ENV === 'production' ? '/react-template/' : '/'
should be: