# learn-react-source-code **Repository Path**: zengwe/learn-react-source-code ## Basic Information - **Project Name**: learn-react-source-code - **Description**: No description available - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2021-11-07 - **Last Updated**: 2021-11-07 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README - ./packages/react-reconciler/ReactFiberHostConfig.js ```javascript // ----zengwe-change // throw new Error('This module must be shimmed by a specific renderer.'); export * from './forks/ReactFiberHostConfig.dom'; ``` - .packages/shared/ReactSharedInternals.js ```javascript // const ReactSharedInternals = // React.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED; import ReactSharedInternals from 'react/src/ReactSharedInternals'; ``` - ./packages/shared/invariant.js ```javascript // throw new Error( // 'Internal React error: invariant() is meant to be replaced at compile ' + // 'time. There is no runtime version.', // ); if(condition) { return } ``` - ./packages/react-reconciler/src/ReactFiberWorkLoop.old.js & ReactFiberWorkLoop.new.js ```javascript // import { // // Aliased because `act` will override and push to an internal queue // scheduleCallback as Scheduler_scheduleCallback, // cancelCallback as Scheduler_cancelCallback, // shouldYield, // requestPaint, // now, // ImmediatePriority as ImmediateSchedulerPriority, // UserBlockingPriority as UserBlockingSchedulerPriority, // NormalPriority as NormalSchedulerPriority, // IdlePriority as IdleSchedulerPriority, // } from './Scheduler'; import { scheduleCallback as Scheduler_scheduleCallback, cancelCallback as Scheduler_cancelCallback, shouldYield, requestPaint, now, ImmediatePriority as ImmediateSchedulerPriority, UserBlockingPriority as UserBlockingSchedulerPriority, NormalPriority as NormalSchedulerPriority, IdlePriority as IdleSchedulerPriority, } from '../../scheduler/src/forks/Scheduler'; ``` SCHEDULING_PROFILER_VERSION