import React from 'react' ; import { setImmediate } from 'timers' ; export const __DEV__ = process . env . NODE_ENV !== 'production' ; export const warningWithoutStack = ( condition , format , ... args ) => { if ( ! condition ) { console . error ( `Warning: ${ format }` , ... args . map ( item => `${ item }` ) ) ; } } ; export const enqueueTask = setImmediate ; export const ReactSharedInternals = React . __SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED ;