Skip to content

Commit

Permalink
use more verbose messaging
Browse files Browse the repository at this point in the history
  • Loading branch information
theKashey committed Sep 12, 2019
1 parent 870c520 commit 09281ef
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions src/proxy/utils.js
Original file line number Diff line number Diff line change
Expand Up @@ -33,10 +33,14 @@ const ES6ProxyComponentFactory = (InitialParent, postConstructionAction) =>
indirectEval(`
(function(InitialParent, postConstructionAction) {
return class ${InitialParent.name || 'HotComponent'} extends InitialParent {
/*
! THIS IS NOT YOUR COMPONENT !
! THIS IS REACT-HOT-LOADER !
// this is a "${InitialParent.name}" component, patched by React-Hot-Loader
// Sorry, but the real class code was hidden behind this facade
// Please refer to https://github.com/gaearon/react-hot-loader for details...
this is a "${InitialParent.name}" component, patched by React-Hot-Loader
Sorry, but the real class code was hidden behind this facade
Please refer to https://github.com/gaearon/react-hot-loader for details...
*/
constructor(props, context) {
super(props, context)
Expand Down

0 comments on commit 09281ef

Please sign in to comment.