ff-stream-web

git clone git://archive.git.mtrnord.blog/MTRNord/ff-stream-web.git
Log | Files | Refs | README | LICENSE

devUtils.js (710B)


      1 /**
      2  * React Starter Kit (https://www.reactstarterkit.com/)
      3  *
      4  * Copyright © 2014-present Kriasoft, LLC. All rights reserved.
      5  *
      6  * This source code is licensed under the MIT license found in the
      7  * LICENSE.txt file in the root directory of this source tree.
      8  */
      9 
     10 /* eslint-disable global-require */
     11 
     12 if (module.hot || __DEV__) {
     13   module.exports = {
     14     // The red box (aka red screen of death) component to display your errors
     15     // https://github.com/commissure/redbox-react
     16     ErrorReporter: require('redbox-react').default,
     17 
     18     // Force-updates React component tree recursively
     19     // https://github.com/gaearon/react-deep-force-update
     20     deepForceUpdate: require('react-deep-force-update'),
     21   };
     22 }