An example of using react-hot-loader (v 3.x). Run the procject with webpack-dev-server --hot --inline