- CRA https://github.com/facebook/create-react-app
- for relative paths from
src
folder, settingNODE_PATH='src/'
instart
andbuild
scripts, like:"start": "cross-env NODE_PATH='src/' react-scripts start"
- styled components https://github.com/styled-components/styled-components
- theming using theme provider
- or css modules
- coming soon natively in CRA, currently exist separate version of react-scripts: react-scripts-cssmodules facebook/create-react-app#2285)
- theming using css custom properties (aka css variables) + postbuild polyfilling if needed using
postcss
withpostcss-custom-properties
plugin
- redux
- reselect for memoisation and comfortable store values access, predictible values composition etc.
src/
components/ # dumb components
containers/ # smart components
i18n/
middleware/
reducers/
selectors/
utils/