Modern react scripts
Installation
npm i -g create-react-appcreate-react-app --scripts-version=modern-react-scripts my-app
Features
- PWA enabled with a service worker and manifest.json
- Progressively enhanced for browsers without certain features
Developer experience
- SASS Loader
- POSTCSS with cssnext
- Access the src directory by using '@/path/to/your/file'
Goals
- Above 85 points in Google's lighthouse benchmark
User guide
SCSS
If you would like to use a scss/sass file, you can import them just like a normal css file.
;
Please refer to Create react app User guide for features directly related to the create react app itself.
Recommendations
Links
FAQ
Will fiber be supported?
As soon as it is released officially and fully supported by create-react-app.
Will you support decorators?
As soon as they will be officially accepted in EcmaScript.
As soon as they will be officially accepted in EcmaScript.