Opinionated React starter template using Redux, React Router, Redux Saga and more.
In order to use this setup you need to have installed the following dependencies:
- Node - min v8.9.4
- NPM - min v5.6.0 or
- Yarn - min v1.3.2
- Bash terminal (Default on OSX/Linux, GitBash or similar on Windows)
You can download this setup directly and extract it.
Then navigate to the
react-template folder and proceed with the rest of the instructions.
npm run build
Latest EcmaScript support
- Usage of the latest features in EcmaScript
- Using Babel to transpile to ES5
- Minification of the bundled file
- Source maps
SASS stylesheets preprocessing
PostCSS stylesheets postprocessing including:
easy importing of non-sass files
url rebase - locates and copies assets from
postcss-utilities - allows usage of utility mixins such as
flexbox bugs - fixes common flexbox issues on Internet Explorer
css minification - minifies the bundles stylesheet
"Write your CSS rules without vendor prefixes (in fact, forget about them entirely)"
Images, Fonts, etc should be placed inside the
src/index.html file is the template file for the HTML of the app. It can be used to add meta, link, script tags, etc.
This setup uses Browserslist to target browsers.
The default list of supported browsers is listed in the
"browserslist": ["> 1%", "last 2 versions"]
This means that supported browsers vary based on current usage data and current browser versions.
In general, this setup supports the two most recent versions of all browsers.