Skip to content

Commit 7a44186

Browse files
committed
Wrap Example app in React.Strict
1 parent 3c6719a commit 7a44186

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

example/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,4 +9,4 @@ const appRoot = document.createElement('div');
99

1010
appRoot.id = 'app';
1111
document.body.appendChild(appRoot);
12-
ReactDOM.render(<App />, appRoot);
12+
ReactDOM.render(<React.StrictMode><App /></React.StrictMode>, appRoot);

0 commit comments

Comments
 (0)