An amazing release full of new goodies, just for you! Let's dive right into it...
News
Welcome @KarandikarMihir to the team! Karandikar has been all over the repo, providing fixes and features. Happy to have him on board to make react-boilerplate even better!
Special thanks as always to @gihrig for diligently testing everything and keeping our dependencies up to date!
Also, huge props to @samit4me and @Dattaya for being everywhere and fixing so many issues and of course to @KarandikarMihir for all his hard work.
If you want to help us make react-boilerplate great, please use the dev branch, test all the things and report all the bugs!
Changelog
Main
- Switch to Jest for testing, massive thanks to @dmitriiabramov
- Update to webpack 2 RC (includes switching from
System.importtoimport()), thanks to @Dattaya - Add progress bar while loading code splitted routes, thanks to @KarandikarMihir
- Add the "Hitchhikers Guide to
react-boilerplateto the docs, massive thanks to @KarandikarMihir - Update all dependencies, as always huge thanks to @gihrig, our master of dependencies
- Enable
import/firsteslint rule and rewrite all imports, huge thanks to @KarandikarMihir - Add Node v7 support and deprecate v4 support, thanks to @samit4me @MariusRumpf
- Prevent i18n language duplication, thanks to @harijoe
- Add the webpack circular dependency plugin to avoid hard to debug errors, thanks to @haikyuu
- Refactor all selectors and generators with new naming convention, thanks to @Dattaya
- Update generator templates, thanks to @Virsaviya @jeremyadavis
- Add support for the
--hostparameter when runningnpm start, thanks to @ifedotov - Showcase reselects
createStructuredSelectorin the example, thanks to @Dattaya - Exclude test files from coverage report, thanks to @samit4me
- Lint the templates for the generators, thanks to @Dattaya
- Huge improvement to DX testing a freshly cleaned project, thanks to @outdooricon
Other Updates
- Remove the webpack DedupePlugin as it leads to errors in production and is now included by default, thanks to @samit4me
- Remove the
npm run pagespeedcommand and all related dependencies and files, thanks to @mkhazov - Trigger a full page reload when HMR fails, thanks @kachkaev
- Don't import all of lodash, thanks to @jwinn
- Improve
.editconfig, thanks to @avdeev - Improve the example components, thanks to @tomazy
- Fix
npm run cleannot working as expected, thanks to @adjnor - Fix the i18n button not updating with new state, thanks to @adjnor
- Fix console error when changing language, thanks to @samit4me
- Fix default polyfill language, thanks to @web2style
- Fix language generation, thanks to @chaintng
- Switch to new webpack query syntax, thanks to @shrynx
- Add an Introductory document to help people get started, thanks to @KarandikarMihir
- Add security configuration recommendations for Nginx (
.nginx.conf), thanks to @supergicko - Add and fix lots to stuff in the documentation, thanks to @pavlin-policar, @samit4me @outdooricon @PierrickGT @nndung179 @outdooricon @kelsonic @jimmyheaddon
- A wide variety of small fixes, thanks to @Dattaya @gihrig @outdooricon
Supporters
This release was made possible by Fullstack React and Serverless! Want to support us too? Click here!
Downloads
Downloads
fix(example): Fix i18n button not updating (#1187)
Downloads
This release directly contains the brainpower of 25 individual contributors, with many more chiming into discussions. Thank you so much for helping out, without you react-boilerplate wouldn't be as great as it is!
Changelog
Main
- Use
๐ styled-components, huge thanks to @samit4me - New, smaller translation messages format, thanks @chaintng
- Fix sync reducer HMR, thanks @justingreenberg
- Add pure component support to the generator, thanks @justingreenberg
- Add
eslint-plugin-redux-saga, thanks @jstockwin - Remove
offline-pluginwarning in dev, thanks @sedubois - Show a warning if a user has JavaScript disabled, thanks @Vadorequest
- Add yarn support, thanks @EugeneHlushko @sedubois
- Add
NamedModulesPlugin, thanks @simobasso
Other Updates
- Update dependencies, thanks to @gihrig
- Fix container generator, thanks to @lsanders
- Add a
keytoLanguageProviderto force rerenders, thanks @andregoncalvesdev - Remove DevTools code in production, thanks @ansumanshah
- Showcase
sCUinFeaturePage, thanks @justingreenberg - Use
browserfield of modules that supply it, thanks @chaintng @episage - Fix
npm run analyze, thanks @chaintng - Fix dependency warnings, thanks @sedubois
- Migrate to
eslint-config-airbnbv12, thanks @amilajack - Update webpack, thanks @peter-mouland
- Update Redux DevTools, thanks @zalmoxisus
- Update documentation with lots of info, thanks @Vadorequest @nappels @KarandikarMihir @GGAlanSmithee @malixsys @sethmcleod
- Clean up script files, thanks @lvarayut
- Make AppVeyor faster by caching
node_modules, thanks @amilajack - Fix cleaned state, thanks @rubenmoya
- Simplify example CSS, thanks @sedubois
- Clean up example, thanks @sedubois @nktssh
- Use
takeLatestin example saga, thanks @pyjac
News
Welcome @chaintng and @sedubois to the team, they'll be around the repo closing issues and answering questions! Special thanks as always to @gihrig for diligently testing everything and keeping our dependencies up to date!
If you want to help us make react-boilerplate great, please use the dev branch, test all the things and report all the bugs!
Supporters
This release was made possible by Fullstack React and Serverless! Want to support us too? Click here!
Downloads
Changelog
- Updated dependencies (thanks @gihrig!)
- Speed up travis builds (thanks @jstockwin!)
- Test all current Node versions on CI (thanks @amilajack!)
- Use
babel-preset-latestto get all the ESNext goodies automatically (thanks @samit4me!) - Hotfix eslint-config-airbnb (thanks @chaintng!)
News
Welcome @amilajack to the team, he'll be around the repo closing issues and answering questions! Special thanks as always to @gihrig for diligently testing everything and keeping our dependencies up to date!
If you want to help us make react-boilerplate great, please use the dev branch, test all the things and report all the bugs!
Supporters
This release was made possible by React.js Program, Fullstack React and Serverless! Want to support us too? Click here!
Downloads
Changelog
- Use
babel-plugin-istanbulfor more accurate code coverage (thanks to @kane-c!) - Move
cross-envandminimisttodependenciessonpm install --productionworks (thanks @Dattaya!) - Update dependencies (thanks @gihrig!)
- Fix indentation of
Helmetwhen generating a container (thanks @Dattaya!) - Fix intl polyfill race condition (thanks @kachkaev!)
- Fix container template (thanks @tbash!)
- Fix spelling errors around the codebase (thanks @stevenspiel!)
- Fix reducers stacking up (thanks @justingreenberg!)
- Fix new linting errors due to eslint upgrade and enable stricter linting (thanks @peter-mouland!)
- Fix test warnings in example (thanks @samit4me!)
News
We have a new release process! There now is an unstable dev branch, which all PRs will be merged into. Every few weeks, we'll open a PR against master, do some last testing and then merge and release!
This way, we'll avoid some of the instability issues we've had in the past where PRs weren't thoroughly tested. (sorry!)
Special thanks to @gihrig for diligently testing everything and keeping our dependencies up to date!
If you want to help us make react-boilerplate great, please use the dev branch, test all the things and report all the bugs!
Supporters
This release was made possible by React.js Program, Fullstack React and Serverless! Want to support us too? Click here!
Downloads
- i18n support!!
- More docs
- Bug fixes and various improvements
- Now using an unstable
devbranch for development stuff somasteris 100% stable. Please testdevand tell us where some problems are!
Downloads
v3.0: The "JS Fatigue Antivenin" Edition
React Boilerplate v3.0.0 is out, and it's a complete rewrite!
We've focused on becoming a rock-solid foundation to start your next project
with, no matter what its scale. You get to focus on writing your app because we
focus on making that as easy as pie.
We also have a proper website now, thanks to @webdesserts! Check it out: http://reactboilerplate.com
Highlights
-
Scaffolding: Thanks to @somus, you can now run
$ npm run generatein your
terminal and immediately create new components, containers, sagas, routes and
selectors! No more context switching, no more "Create new file, copy and paste
that boilerplate structure, bla bla": justnpm run generate <thing>and go.Oh... and starting a project got a whole lot easier too:
npm run setup. Done. -
Revamped architecture: Following the incredible discussion in #27 (thanks
everybody for sharing your thoughts), we now have a weapons-grade, domain-driven
application architecture."Smart" containers are now isolated from stateless and/or generic components,
tests are now co-located with the code that they validate. -
New industry-standard JS utilties We're now making the most of...
- ImmutableJS
- reselect
- react-router-redux
- redux-saga
-
Huge CSS Improvements
- CSS Modules: Finally, truly modular, reusable
styles! - Page-specific CSS: smart Webpack configuration means that only the CSS
your components need is served - Standards rock: Nothing beats consistent styling so we beefed up the
quality checks with stylelint to help ensure
that you and your team stay on point.
- CSS Modules: Finally, truly modular, reusable
-
Performance
- Code splitting: splitting/chunking by route means the leanest, meanest
payload (because the fastest code is the code you don't load!) - PageSpeed Metrics are built right in with
npm run pagespeed
- Code splitting: splitting/chunking by route means the leanest, meanest
-
Testing setup: Thanks to @jbinto's herculean efforts, testing is now a
first-class citizen of this boilerplate. (the example app has 99% test coverage!)
Karma and enzyme take care of unit testing, while ngrok tunnels your local
server for access from anywhere in the world โ perfect for testing on different
devices in different locations. -
New server setup: Thanks to the mighty @grabbou, we now use express.js to
give users a production-ready server right out of the box. Hot reloading is
still as available as always, but adding a custom API or a non-React page to
your application is now easier than ever๐ -
Cleaner layout: We've taken no prisoners with our approach to keeping your
code the star of the show: wherever possible, the new file layout keeps the
config in the background so that you can keep your focus where it needs to be. -
Documentation: Thanks to @oliverturner, this boilerplate has some of the best
documentation going. Not just clearly explained usage guides, but easy-to-follow
removal guides for most features too. RBP is just a launchpad: don't want to
use a bundled feature? Get rid of it quickly and easily without having to dig
through the code. -
Countless small improvements: Everything, from linting pre-commit (thanks
@okonet!) to code splitting to cross-OS compatibility is now tested and ready
to go:- We finally added a CoC
- Windows compatibility has improved massively
Downloads
- Remove the ServiceWorker cache polyfill, which is deprecated. See coonsta/cache-polyfill#17
- Hot reloadable reducers
- Upgrade to Babel 6
- Add globbing support to CSS @imports
- Better output when starting the server
- Stop caching .htaccess in the AppCache
- Envify react in production
- Bug fixes: eslint, docs