Skip to content

Commit

Permalink
fix: use logger.warn instead of console to report tail update, fixes #…
Browse files Browse the repository at this point in the history
  • Loading branch information
theKashey committed Nov 2, 2019
1 parent 3fadc05 commit fbc890a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/hot.dev.js
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ const makeHotExport = (sourceModule, moduleId) => {
// we know that some components were updated, but not tracking which ones
// even if their updates might be incorporated automatically (like lazy)
// we dont know which one should be tracked, and which updates are important
console.warn(
logger.warn(
'React-Hot-Loader: some components were updated out-of-bound. Updating your app to reconcile the changes.',
);
deepUpdate();
Expand Down

0 comments on commit fbc890a

Please sign in to comment.