node package manager
Painless code sharing. npm Orgs help your team discover, share, and reuse code. Create a free org »


Babel preset for React HMR and Error Catching

Circle CI

This preset will configure Babel 6 for and friends.

It is recommended that this preset only be configured for your development builds.


npm install babel-preset-react-hmre --save-dev

Configure babel via .babelrc

  "presets": ["react", "es2015"],
  "env": {
    "development": {
      "presets": ["react-hmre"]