An opinionated boilerplate for JAMstack React projects including the following:
- Webpack
- React w/ Next.js
- Flow
- Redux w/ redux-sagas
- GraphQL
- ECMA proposals
- Class field declarations (S3)
https://github.com/tc39/proposal-class-fields - Static class features (S3)
https://github.com/tc39/proposal-static-class-features - Optional Chaining (S3)
https://github.com/tc39/proposal-optional-chaining - Decorators (S2)
https://github.com/tc39/proposal-decorators
- Class field declarations (S3)
- Code splitting
- Tree shaking
- JSON parse for large object literals
https://github.com/nd-02110114/babel-plugin-object-to-json-parse - SCSS + CSS modules
- Critical CSS extraction
- Responsive images
- SVG & small images inlining
- Images optimization
- Lazy loading images
- Offline first
- Customizable service worker
- Push notifications
- Unit & Integration tests
- E2E tests
- Visual regression tests
- Code coverage reports
- Bundle analyzer
- Lighthouse audits
- Favicon generator
- Manifest.json
- Sitemap.xml
- Robots.txt
- Google analytics tracking
- SEO meta tags, OpenGraph and JSON+LD support
- A11y linting
- Polyfills
- IE 9+
- Git hooks
- Optional Docker container
Any of the above can easely be surgically removed / replaced.