From d1ae9c2fc719a9a0ddd375e888c76ae3f67f2a72 Mon Sep 17 00:00:00 2001 From: Dan Abramov Date: Sat, 23 Aug 2014 20:29:12 +0400 Subject: [PATCH] 0.4.1 --- README.md | 4 ++++ package.json | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 33bf9a847..03daf84e2 100644 --- a/README.md +++ b/README.md @@ -59,6 +59,10 @@ A better approach may be to make monkeypatch `createClass` to return a proxy obj ## Changelog +#### 0.4.1 + +* Use more precise [`React.createClass` regex](https://github.com/gaearon/react-hot-loader/commit/f71c6785131adcc85b91789da0d0a0b9f1a9713f) to avoid matching own code when hot loader is applied to all JS files. + #### 0.4.0 * Ignore files that contain no `createClass` calls (fixes **[#17](https://github.com/gaearon/react-hot-loader/issues/17)**) diff --git a/package.json b/package.json index a63bc97c6..612587b7c 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "react-hot-loader", - "version": "0.4.0", + "version": "0.4.1", "description": "Webpack loader that enables live-editing React components without unmounting or losing their state", "main": "index.js", "scripts": {