Skip to content

Commit 43e5f2e

Browse files
committed
Bump
1 parent 6fe5e6f commit 43e5f2e

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

packages/react-scripts/template/src/Hello.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ let Hello = window.__assign(module, 'Hello', function Hello() {
2121
<h3>
2222
{value.toString().slice(0, 5)}
2323
<br />
24-
hello world!
24+
hello world!!
2525
<br />
2626
class: <CounterClass hocChild />
2727
<br />

packages/react-scripts/template/src/hot.js

+2-1
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,8 @@ function init(rawType, id) {
4747
idToRawFunction.set(id, rawType);
4848
const proxy = new Proxy(rawType, {
4949
apply(target, thisArg, args) {
50-
let ret = idToRawFunction.get(id).apply(null, args);
50+
let freshRawType = idToRawFunction.get(id);
51+
let ret = freshRawType.apply(null, args);
5152
readContext(HotContext);
5253
return ret;
5354
},

0 commit comments

Comments
 (0)