How to use the react-hot-loader.setConfig function in react-hot-loader

To help you get started, we’ve selected a few react-hot-loader examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github spacemeshos / smapp / app / App.js View on Github external
import routes from './routes';
import GlobalStyle from './globalStyle';
import type { Store } from '/types';
import { configureStore } from './redux/configureStore';
import { ErrorHandlerModal } from '/components/errorHandler';
import { UpdaterModal } from '/components/updater';

const HEALTH_CHECK_INTERVAL = 360000;

const store: Store = configureStore();

const configOptions: $Shape = {
  showReactDomPatchNotification: false
};

setConfig(configOptions);

type Props = {};

type State = {
  error: ?Error,
  isUpdateDownloaded: boolean
};

class App extends React.Component {
  // eslint-disable-next-line react/sort-comp
  startNodeInterval: IntervalID;

  healthCheckInterval: IntervalID;

  updateCheckInterval: IntervalID;