Skip to content

Commit fbc890a

Browse files
committed
fix: use logger.warn instead of console to report tail update, fixes #1386
1 parent 3fadc05 commit fbc890a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/hot.dev.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ const makeHotExport = (sourceModule, moduleId) => {
6666
// we know that some components were updated, but not tracking which ones
6767
// even if their updates might be incorporated automatically (like lazy)
6868
// we dont know which one should be tracked, and which updates are important
69-
console.warn(
69+
logger.warn(
7070
'React-Hot-Loader: some components were updated out-of-bound. Updating your app to reconcile the changes.',
7171
);
7272
deepUpdate();

0 commit comments

Comments
 (0)