9 lines
182 B
JavaScript
9 lines
182 B
JavaScript
|
import { setConfig } from 'react-hot-loader';
|
||
|
import ReactDOM from 'react-dom';
|
||
|
|
||
|
setConfig({
|
||
|
ignoreSFC: !!ReactDOM.setHotElementComparator,
|
||
|
pureSFC: true,
|
||
|
pureRender: true
|
||
|
});
|