[ Index ]

PHP Cross Reference of WordPress

title

Body

[close]

/js/dist/vendor/ -> react-dom.js (summary)

Use invariant() to assert state which your program assumes to be true.

File Size: 18382 lines (668 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 550 functions

  invariant()
  callCallback()
  handleWindowError()
  invokeGuardedCallback()
  invokeGuardedCallbackAndCatchFirstError()
  rethrowCaughtError()
  hasCaughtError()
  clearCaughtError()
  recomputePluginOrdering()
  publishEventForPlugin()
  publishRegistrationName()
  injectEventPluginOrder()
  injectEventPluginsByName()
  setComponentTree()
  executeDispatch()
  executeDispatchesInOrder()
  accumulateInto()
  forEachAccumulated()
  isInteractive()
  shouldPreventMouseEvent()
  getListener()
  extractEvents()
  runEventsInBatch()
  runExtractedEventsInBatch()
  precacheFiberNode()
  getClosestInstanceFromNode()
  getInstanceFromNode()
  getNodeFromInstance()
  getFiberCurrentPropsFromNode()
  getParent()
  getLowestCommonAncestor()
  traverseTwoPhase()
  traverseEnterLeave()
  listenerAtPhase()
  accumulateDirectionalDispatches()
  accumulateTwoPhaseDispatchesSingle()
  accumulateDispatches()
  accumulateDirectDispatchesSingle()
  accumulateTwoPhaseDispatches()
  accumulateEnterLeaveDispatches()
  accumulateDirectDispatches()
  unsafeCastStringToDOMTopLevelType()
  unsafeCastDOMTopLevelTypeToString()
  makePrefixMap()
  getVendorPrefixedEventName()
  getRawEventName()
  initialize()
  reset()
  getData()
  getText()
  functionThatReturnsTrue()
  functionThatReturnsFalse()
  SyntheticEvent()
  Class()
  getPooledWarningPropertyDefinition()
  set()
  get()
  warn()
  getPooledEvent()
  releasePooledEvent()
  addEventPoolingTo()
  isKeypressCommand()
  getCompositionEventType()
  isFallbackCompositionStart()
  isFallbackCompositionEnd()
  getDataFromCustomEvent()
  isUsingKoreanIME()
  extractCompositionEvent()
  getNativeBeforeInputChars()
  getFallbackBeforeInputChars()
  extractBeforeInputEvent()
  restoreStateOfTarget()
  setRestoreImplementation()
  enqueueStateRestore()
  needsStateRestore()
  restoreStateIfNeeded()
  batchedUpdates()
  interactiveUpdates()
  setBatchingImplementation()
  isTextInputElement()
  getEventTarget()
  isEventSupported()
  isCheckable()
  getTracker()
  detachTracker()
  getValueFromNode()
  trackValueOnNode()
  track()
  updateValueIfChanged()
  getIteratorFn()
  getResultFromResolvedThenable()
  refineResolvedThenable()
  getComponentName()
  describeFiber()
  getStackByFiberInDevAndProd()
  getCurrentFiberOwnerNameInDevOrNull()
  getCurrentFiberStackInDev()
  resetCurrentFiber()
  setCurrentFiber()
  setCurrentPhase()
  isAttributeNameSafe()
  shouldIgnoreAttribute()
  shouldRemoveAttributeWithWarning()
  shouldRemoveAttribute()
  getPropertyInfo()
  PropertyInfoRecord()
  getValueForProperty()
  getValueForAttribute()
  setValueForProperty()
  toString()
  getToStringValue()
  checkPropTypes()
  isControlled()
  getHostProps()
  initWrapperState()
  updateChecked()
  updateWrapper()
  postMountWrapper()
  restoreControlledState()
  updateNamedCousins()
  setDefaultValue()
  createAndAccumulateChangeEvent()
  shouldUseChangeEvent()
  manualDispatchChangeEvent()
  runEventInBatch()
  getInstIfValueChanged()
  getTargetInstForChangeEvent()
  startWatchingForValueChange()
  stopWatchingForValueChange()
  handlePropertyChange()
  handleEventsForInputEventPolyfill()
  getTargetInstForInputEventPolyfill()
  shouldUseClickEvent()
  getTargetInstForClickEvent()
  getTargetInstForInputOrChangeEvent()
  handleControlledInputBlur()
  modifierStateGetter()
  getEventModifierState()
  is()
  shallowEqual()
  get()
  has()
  set()
  isFiberMountedImpl()
  isFiberMounted()
  isMounted()
  assertIsMounted()
  findCurrentFiberUsingSlowPath()
  findCurrentHostFiber()
  findCurrentHostFiberWithNoPortals()
  addEventBubbleListener()
  addEventCaptureListener()
  getEventCharCode()
  getEventKey()
  addEventTypeNameToConfig()
  findRootContainerNode()
  getTopLevelCallbackBookKeeping()
  releaseTopLevelCallbackBookKeeping()
  handleTopLevel()
  setEnabled()
  isEnabled()
  trapBubbledEvent()
  trapCapturedEvent()
  dispatchInteractiveEvent()
  dispatchEvent()
  getListeningForDocument()
  listenTo()
  isListeningToAllDependencies()
  getActiveElement()
  getLeafNode()
  getSiblingNode()
  getNodeForCharacterOffset()
  getOffsets()
  getModernOffsetsFromPoints()
  setOffsets()
  isTextNode()
  containsNode()
  isInDocument()
  getActiveElementDeep()
  hasSelectionCapabilities()
  getSelectionInformation()
  restoreSelection()
  getSelection()
  setSelection()
  getSelection()
  getEventTargetDocument()
  constructSelectEvent()
  flattenChildren()
  validateProps()
  postMountWrapper()
  getHostProps()
  getDeclarationErrorAddendum()
  checkSelectPropTypes()
  updateOptions()
  getHostProps()
  initWrapperState()
  postMountWrapper()
  postUpdateWrapper()
  restoreControlledState()
  getHostProps()
  initWrapperState()
  updateWrapper()
  postMountWrapper()
  restoreControlledState()
  getIntrinsicNamespace()
  getChildNamespace()
  prefixKey()
  dangerousStyleValue()
  hyphenateStyleName()
  createDangerousStringForStyles()
  setValueForStyles()
  assertValidProps()
  isCustomComponent()
  validateProperty()
  warnInvalidARIAProps()
  validateProperties()
  validateProperties()
  validateProperties()
  ensureListeningTo()
  getOwnerDocumentFromRootContainer()
  noop()
  trapClickOnNonInteractiveElement()
  setInitialDOMProperties()
  updateDOMProperties()
  createElement()
  createTextNode()
  setInitialProperties()
  diffProperties()
  updateProperties()
  getPossibleStandardName()
  diffHydratedProperties()
  diffHydratedText()
  warnForUnmatchedText()
  warnForDeletedHydratableElement()
  warnForDeletedHydratableText()
  warnForInsertedHydratedElement()
  warnForInsertedHydratedText()
  restoreControlledState()
  shim()
  shouldAutoFocusHostComponent()
  getRootHostContext()
  getChildHostContext()
  getPublicInstance()
  prepareForCommit()
  resetAfterCommit()
  createInstance()
  appendInitialChild()
  finalizeInitialChildren()
  prepareUpdate()
  shouldSetTextContent()
  shouldDeprioritizeSubtree()
  createTextInstance()
  commitMount()
  commitUpdate()
  resetTextContent()
  commitTextUpdate()
  appendChild()
  appendChildToContainer()
  insertBefore()
  insertInContainerBefore()
  removeChild()
  removeChildFromContainer()
  canHydrateInstance()
  canHydrateTextInstance()
  getNextHydratableSibling()
  getFirstHydratableChild()
  hydrateInstance()
  hydrateTextInstance()
  didNotMatchHydratedContainerTextInstance()
  didNotMatchHydratedTextInstance()
  didNotHydrateContainerInstance()
  didNotHydrateInstance()
  didNotFindHydratableContainerInstance()
  didNotFindHydratableContainerTextInstance()
  didNotFindHydratableInstance()
  didNotFindHydratableTextInstance()
  recordEffect()
  recordScheduleUpdate()
  startRequestCallbackTimer()
  stopRequestCallbackTimer()
  startWorkTimer()
  cancelWorkTimer()
  stopWorkTimer()
  stopFailedWorkTimer()
  startPhaseTimer()
  stopPhaseTimer()
  startWorkLoopTimer()
  stopWorkLoopTimer()
  startCommitTimer()
  stopCommitTimer()
  startCommitSnapshotEffectsTimer()
  stopCommitSnapshotEffectsTimer()
  startCommitHostEffectsTimer()
  stopCommitHostEffectsTimer()
  startCommitLifeCyclesTimer()
  stopCommitLifeCyclesTimer()
  createCursor()
  pop()
  push()
  checkThatStackIsEmpty()
  resetStackAfterFatalErrorInDev()
  getUnmaskedContext()
  cacheContext()
  getMaskedContext()
  hasContextChanged()
  isContextProvider()
  popContext()
  popTopLevelContextObject()
  pushTopLevelContextObject()
  processChildContext()
  pushContextProvider()
  invalidateContextProvider()
  findCurrentUnmaskedContext()
  catchErrors()
  injectInternals()
  onCommitRoot()
  onCommitUnmount()
  msToExpirationTime()
  expirationTimeToMs()
  ceiling()
  computeExpirationBucket()
  computeAsyncExpiration()
  computeInteractiveExpiration()
  FiberNode()
  shouldConstruct()
  resolveLazyComponentTag()
  createWorkInProgress()
  createHostRootFiber()
  createFiberFromElement()
  createFiberFromFragment()
  createFiberFromProfiler()
  createFiberFromText()
  createFiberFromHostInstanceForDeletion()
  createFiberFromPortal()
  assignFiberPropertiesInDEV()
  createFiberRoot()
  markPendingPriorityLevel()
  markCommittedPriorityLevels()
  hasLowerPriorityWork()
  isPriorityLevelSuspended()
  markSuspendedPriorityLevel()
  markPingedPriorityLevel()
  clearPing()
  findEarliestOutstandingPriorityLevel()
  didExpireAtExpirationTime()
  findNextExpirationTimeToWorkOn()
  createUpdateQueue()
  cloneUpdateQueue()
  createUpdate()
  appendUpdateToQueue()
  enqueueUpdate()
  enqueueCapturedUpdate()
  ensureWorkInProgressQueueIsAClone()
  getStateFromUpdate()
  processUpdateQueue()
  callCallback()
  resetHasForceUpdateBeforeProcessing()
  checkHasForceUpdateAfterProcessing()
  commitUpdateQueue()
  commitUpdateEffects()
  createCapturedValue()
  resetContextDependences()
  pushProvider()
  popProvider()
  calculateChangedBits()
  propagateContextChange()
  prepareToReadContext()
  readContext()
  requiredContext()
  getRootHostContainer()
  pushHostContainer()
  popHostContainer()
  getHostContext()
  pushHostContext()
  popHostContext()
  getCommitTime()
  recordCommitTime()
  startProfilerTimer()
  stopProfilerTimerIfRunning()
  stopProfilerTimerIfRunningAndRecordDelta()
  applyDerivedStateFromProps()
  checkShouldComponentUpdate()
  checkClassInstance()
  adoptClassInstance()
  constructClassInstance()
  callComponentWillMount()
  callComponentWillReceiveProps()
  mountClassInstance()
  resumeMountClassInstance()
  updateClassInstance()
  coerceRef()
  throwOnInvalidObjectType()
  warnOnFunctionType()
  ChildReconciler()
  deleteChild()
  deleteRemainingChildren()
  mapRemainingChildren()
  useFiber()
  placeChild()
  placeSingleChild()
  updateTextNode()
  updateElement()
  updatePortal()
  updateFragment()
  createChild()
  updateSlot()
  updateFromMap()
  warnOnInvalidKey()
  reconcileChildrenArray()
  reconcileChildrenIterator()
  reconcileSingleTextNode()
  reconcileSingleElement()
  reconcileSinglePortal()
  reconcileChildFibers()
  cloneChildFibers()
  enterHydrationState()
  deleteHydratableInstance()
  insertNonHydratedInstance()
  tryHydrate()
  tryToClaimNextHydratableInstance()
  prepareToHydrateHostInstance()
  prepareToHydrateHostTextInstance()
  popToNextHostParent()
  popHydrationState()
  resetHydrationState()
  readLazyComponentType()
  reconcileChildren()
  updateForwardRef()
  updateFragment()
  updateMode()
  updateProfiler()
  markRef()
  updateFunctionalComponent()
  updateClassComponent()
  finishClassComponent()
  pushHostRootContext()
  updateHostRoot()
  updateHostComponent()
  updateHostText()
  resolveDefaultProps()
  mountIndeterminateComponent()
  updatePlaceholderComponent()
  updatePortalComponent()
  updateContextProvider()
  updateContextConsumer()
  bailoutOnAlreadyFinishedWork()
  memoizeProps()
  memoizeState()
  beginWork()
  markUpdate()
  markRef()
  completeWork()
  showErrorDialog()
  logCapturedError()
  logError()
  safelyCallComponentWillUnmount()
  safelyDetachRef()
  commitBeforeMutationLifeCycles()
  commitLifeCycles()
  commitAttachRef()
  commitDetachRef()
  commitUnmount()
  commitNestedUnmounts()
  detachFiber()
  emptyPortalContainer()
  commitContainer()
  getHostParentFiber()
  isHostParent()
  getHostSibling()
  commitPlacement()
  unmountHostComponents()
  commitDeletion()
  commitWork()
  commitResetTextContent()
  NoopComponent()
  createRootErrorUpdate()
  createClassErrorUpdate()
  throwException()
  unwindWork()
  unwindInterruptedWork()
  resetStack()
  commitAllHostEffects()
  commitBeforeMutationLifecycles()
  commitAllLifeCycles()
  isAlreadyFailedLegacyErrorBoundary()
  markLegacyErrorBoundaryAsFailed()
  commitRoot()
  resetChildExpirationTime()
  completeUnitOfWork()
  performUnitOfWork()
  workLoop()
  renderRoot()
  dispatch()
  captureCommitPhaseError()
  computeThreadID()
  computeUniqueAsyncExpiration()
  computeExpirationForFiber()
  renderDidSuspend()
  renderDidError()
  retrySuspendedRoot()
  scheduleWorkToRoot()
  storeInteractionsForExpirationTime()
  scheduleWork()
  syncUpdates()
  recomputeCurrentRendererTime()
  scheduleCallbackWithExpirationTime()
  onFatal()
  onComplete()
  onSuspend()
  onYield()
  onTimeout()
  onCommit()
  requestCurrentTime()
  requestWork()
  addRootToSchedule()
  findHighestPriorityRoot()
  performAsyncWork()
  performSyncWork()
  performWork()
  flushRoot()
  finishRendering()
  performWorkOnRoot()
  completeRoot()
  shouldYield()
  onUncaughtError()
  batchedUpdates()
  unbatchedUpdates()
  flushSync()
  interactiveUpdates()
  flushInteractiveUpdates()
  flushControlled()
  getContextForSubtree()
  scheduleRootUpdate()
  updateContainerAtExpirationTime()
  findHostInstance()
  createContainer()
  updateContainer()
  getPublicRootInstance()
  findHostInstanceWithNoPortals()
  injectIntoDevTools()
  createPortal()
  ReactBatch()
  ReactWork()
  ReactRoot()
  isValidContainer()
  getReactRootElementInContainer()
  shouldHydrateDueToLegacyHeuristic()
  legacyCreateRootFromDOMContainer()
  legacyRenderSubtreeIntoContainer()
  createPortal()

Functions
Functions that are not part of a class:

invariant(condition, format, a, b, c, d, e, f)   X-Ref
No description

callCallback()   X-Ref
No description

handleWindowError(event)   X-Ref
No description

invokeGuardedCallback(name, func, context, a, b, c, d, e, f)   X-Ref
Call a function while guarding against errors that happens within it.
Returns an error if it throws, otherwise null.

In production, this is implemented using a try-catch. The reason we don't
use a try-catch directly is so that we can swap out a different
implementation in DEV mode.

param: {String} name of the guard to use for logging or debugging
param: {Function} func The function to invoke
param: {*} context The context to use when calling the function
param: {...*} args Arguments for function

invokeGuardedCallbackAndCatchFirstError(name, func, context, a, b, c, d, e, f)   X-Ref
Same as invokeGuardedCallback, but instead of returning an error, it stores
it in a global so it can be rethrown by `rethrowCaughtError` later.
TODO: See if caughtError and rethrowError can be unified.

param: {String} name of the guard to use for logging or debugging
param: {Function} func The function to invoke
param: {*} context The context to use when calling the function
param: {...*} args Arguments for function

rethrowCaughtError()   X-Ref
During execution of guarded functions we will capture the first error which
we will rethrow to be handled by the top level error handler.


hasCaughtError()   X-Ref
No description

clearCaughtError()   X-Ref
No description

recomputePluginOrdering()   X-Ref
Recomputes the plugin list using the injected plugins and plugin ordering.


publishEventForPlugin(dispatchConfig, pluginModule, eventName)   X-Ref
Publishes an event so that it can be dispatched by the supplied plugin.

return: {boolean} True if the event was successfully published.
param: {object} dispatchConfig Dispatch configuration for the event.
param: {object} PluginModule Plugin publishing the event.

publishRegistrationName(registrationName, pluginModule, eventName)   X-Ref
Publishes a registration name that is used to identify dispatched events.

param: {string} registrationName Registration name to add.
param: {object} PluginModule Plugin publishing the event.

injectEventPluginOrder(injectedEventPluginOrder)   X-Ref
Injects an ordering of plugins (by plugin name). This allows the ordering
to be decoupled from injection of the actual plugins so that ordering is
always deterministic regardless of packaging, on-the-fly injection, etc.

param: {array} InjectedEventPluginOrder

injectEventPluginsByName(injectedNamesToPlugins)   X-Ref
Injects plugins to be used by `EventPluginHub`. The plugin names must be
in the ordering injected by `injectEventPluginOrder`.

Plugins can be injected as part of page initialization or on-the-fly.

param: {object} injectedNamesToPlugins Map from names to plugin modules.

setComponentTree(getFiberCurrentPropsFromNodeImpl, getInstanceFromNodeImpl, getNodeFromInstanceImpl)   X-Ref
No description

executeDispatch(event, simulated, listener, inst)   X-Ref
Dispatch the event to the listener.

param: {SyntheticEvent} event SyntheticEvent to handle
param: {boolean} simulated If the event is simulated (changes exn behavior)
param: {function} listener Application-level callback
param: {*} inst Internal component instance

executeDispatchesInOrder(event, simulated)   X-Ref
Standard/simple iteration through an event's collected dispatches.


accumulateInto(current, next)   X-Ref
Accumulates items that must not be null or undefined into the first one. This
is used to conserve memory by avoiding array allocations, and thus sacrifices
API cleanness. Since `current` can be null before being passed in and not
null after this function, make sure to assign it back to `current`:

`a = accumulateInto(a, b);`

This API should be sparingly used. Try `accumulate` for something cleaner.

return: {*|array<*>} An accumulation of items.

forEachAccumulated(arr, cb, scope)   X-Ref

param: {array} arr an "accumulation" of items which is either an Array or
param: {function} cb Callback invoked with each element or a collection.
param: {?} [scope] Scope used as `this` in a callback.

isInteractive(tag)   X-Ref
No description

shouldPreventMouseEvent(name, type, props)   X-Ref
No description

getListener(inst, registrationName)   X-Ref

return: {?function} The stored callback.
param: {object} inst The instance, which is the source of events.
param: {string} registrationName Name of listener (e.g. `onClick`).

extractEvents(topLevelType, targetInst, nativeEvent, nativeEventTarget)   X-Ref
Allows registered plugins an opportunity to extract events from top-level
native browser events.

return: {*} An accumulation of synthetic events.

runEventsInBatch(events, simulated)   X-Ref
No description

runExtractedEventsInBatch(topLevelType, targetInst, nativeEvent, nativeEventTarget)   X-Ref
No description

precacheFiberNode(hostInst, node)   X-Ref
No description

getClosestInstanceFromNode(node)   X-Ref
Given a DOM node, return the closest ReactDOMComponent or
ReactDOMTextComponent instance ancestor.


getInstanceFromNode(var inst = node[internalInstanceKey];if (inst)   X-Ref
Given a DOM node, return the ReactDOMComponent or ReactDOMTextComponent
instance, or null if the node was not rendered by this React.


getNodeFromInstance(if (inst.tag === HostComponent || inst.tag === HostText)   X-Ref
Given a ReactDOMComponent or ReactDOMTextComponent, return the corresponding
DOM node.


getFiberCurrentPropsFromNode(return node[internalEventHandlersKey] || null;}function updateFiberProps(node, props)   X-Ref
No description

getParent(inst)   X-Ref
No description

getLowestCommonAncestor(instA, instB)   X-Ref
Return the lowest common ancestor of A and B, or null if they are in
different trees.


traverseTwoPhase(inst, fn, arg)   X-Ref
Simulates the traversal of a two-phase, capture/bubble event dispatch.


traverseEnterLeave(from, to, fn, argFrom, argTo)   X-Ref
Traverses the ID hierarchy and invokes the supplied `cb` on any IDs that
should would receive a `mouseEnter` or `mouseLeave` event.

Does not invoke the callback on the nearest common ancestor because nothing
"entered" or "left" that element.

listenerAtPhase(inst, event, propagationPhase)   X-Ref
Some event types have a notion of different registration names for different
"phases" of propagation. This finds listeners by a given phase.


accumulateDirectionalDispatches(inst, phase, event)   X-Ref
Tags a `SyntheticEvent` with dispatched listeners. Creating this function
here, allows us to not have to bind or create functions for each event.
Mutating the event's members allows us to not have to create a wrapping
"dispatch" object that pairs the event with the listener.


accumulateTwoPhaseDispatchesSingle(event)   X-Ref
Collect dispatches (must be entirely collected before dispatching - see unit
tests). Lazily allocate the array to conserve memory.  We must loop through
each event and perform the traversal for each one. We cannot perform a
single traversal for the entire collection of events because each event may
have a different target.


accumulateDispatches(inst, ignoredDirection, event)   X-Ref
Accumulates without regard to direction, does not look for phased
registration names. Same as `accumulateDirectDispatchesSingle` but without
requiring that the `dispatchMarker` be the same as the dispatched ID.


accumulateDirectDispatchesSingle(event)   X-Ref
Accumulates dispatches on an `SyntheticEvent`, but only for the
`dispatchMarker`.

param: {SyntheticEvent} event

accumulateTwoPhaseDispatches(events)   X-Ref
No description

accumulateEnterLeaveDispatches(leave, enter, from, to)   X-Ref
No description

accumulateDirectDispatches(events)   X-Ref
No description

unsafeCastStringToDOMTopLevelType(topLevelType)   X-Ref
No description

unsafeCastDOMTopLevelTypeToString(topLevelType)   X-Ref
No description

makePrefixMap(styleProp, eventName)   X-Ref
Generate a mapping of standard vendor prefixes using the defined style property and event name.

returns: {object}
param: {string} styleProp
param: {string} eventName

getVendorPrefixedEventName(eventName)   X-Ref
Attempts to determine the correct vendor prefixed event name.

returns: {string}
param: {string} eventName

getRawEventName(topLevelType)   X-Ref
No description

initialize(nativeEventTarget)   X-Ref
No description

reset()   X-Ref
No description

getData()   X-Ref
No description

getText()   X-Ref
No description

functionThatReturnsTrue()   X-Ref


functionThatReturnsFalse()   X-Ref
No description

SyntheticEvent(dispatchConfig, targetInst, nativeEvent, nativeEventTarget)   X-Ref
Synthetic events are dispatched by event plugins, typically in response to a
top-level event delegation handler.

These systems should generally use pooling to reduce the frequency of garbage
collection. The system should check `isPersistent` to determine whether the
event should be released into the pool after being dispatched. Users that
need a persisted event should invoke `persist`.

Synthetic events (and subclasses) implement the DOM Level 3 Events API by
normalizing browser quirks. Subclasses do not necessarily have to implement a
DOM interface; custom application-specific events can also subclass this.

param: {object} dispatchConfig Configuration used to dispatch this event.
param: {*} targetInst Marker identifying the event target.
param: {object} nativeEvent Native browser event.
param: {DOMEventTarget} nativeEventTarget Target node.

Class()   X-Ref
No description

getPooledWarningPropertyDefinition(propName, getVal)   X-Ref
Helper to nullify syntheticEvent instance properties when destructing

return: {object} defineProperty object
param: {String} propName
param: {?object} getVal

set(val)   X-Ref
No description

get()   X-Ref
No description

warn(action, result)   X-Ref
No description

getPooledEvent(dispatchConfig, targetInst, nativeEvent, nativeInst)   X-Ref
No description

releasePooledEvent(event)   X-Ref
No description

addEventPoolingTo(EventConstructor)   X-Ref
No description

isKeypressCommand(nativeEvent)   X-Ref
Return whether a native keypress event is assumed to be a command.
This is required because Firefox fires `keypress` events for key commands
(cut, copy, select-all, etc.) even though no character is inserted.


getCompositionEventType(topLevelType)   X-Ref
Translate native top level events into event types.

return: {object}
param: {string} topLevelType

isFallbackCompositionStart(topLevelType, nativeEvent)   X-Ref
Does our fallback best-guess model think this event signifies that
composition has begun?

return: {boolean}
param: {string} topLevelType
param: {object} nativeEvent

isFallbackCompositionEnd(topLevelType, nativeEvent)   X-Ref
Does our fallback mode think that this event is the end of composition?

return: {boolean}
param: {string} topLevelType
param: {object} nativeEvent

getDataFromCustomEvent(nativeEvent)   X-Ref
Google Input Tools provides composition data via a CustomEvent,
with the `data` property populated in the `detail` object. If this
is available on the event object, use it. If not, this is a plain
composition event and we have nothing special to extract.

return: {?string}
param: {object} nativeEvent

isUsingKoreanIME(nativeEvent)   X-Ref
Check if a composition event was triggered by Korean IME.
Our fallback mode does not work well with IE's Korean IME,
so just use native composition events when Korean IME is used.
Although CompositionEvent.locale property is deprecated,
it is available in IE, where our fallback mode is enabled.

return: {boolean}
param: {object} nativeEvent

extractCompositionEvent(topLevelType, targetInst, nativeEvent, nativeEventTarget)   X-Ref

return: {?object} A SyntheticCompositionEvent.

getNativeBeforeInputChars(topLevelType, nativeEvent)   X-Ref

return: {?string} The string corresponding to this `beforeInput` event.
param: {TopLevelType} topLevelType Number from `TopLevelType`.
param: {object} nativeEvent Native browser event.

getFallbackBeforeInputChars(topLevelType, nativeEvent)   X-Ref
For browsers that do not provide the `textInput` event, extract the
appropriate string to use for SyntheticInputEvent.

return: {?string} The fallback string for this `beforeInput` event.
param: {number} topLevelType Number from `TopLevelEventTypes`.
param: {object} nativeEvent Native browser event.

extractBeforeInputEvent(topLevelType, targetInst, nativeEvent, nativeEventTarget)   X-Ref
Extract a SyntheticInputEvent for `beforeInput`, based on either native
`textInput` or fallback behavior.

return: {?object} A SyntheticInputEvent.

restoreStateOfTarget(target)   X-Ref
No description

setRestoreImplementation(impl)   X-Ref
No description

enqueueStateRestore(target)   X-Ref
No description

needsStateRestore()   X-Ref
No description

restoreStateIfNeeded()   X-Ref
No description

batchedUpdates(fn, bookkeeping)   X-Ref
No description

interactiveUpdates(fn, a, b)   X-Ref
No description

setBatchingImplementation(batchedUpdatesImpl, interactiveUpdatesImpl, flushInteractiveUpdatesImpl)   X-Ref
No description

isTextInputElement(elem)   X-Ref


getEventTarget(nativeEvent)   X-Ref
Gets the target node from a native browser event by accounting for
inconsistencies in browser DOM APIs.

return: {DOMEventTarget} Target node.
param: {object} nativeEvent Native browser event.

isEventSupported(eventNameSuffix)   X-Ref
Checks if an event is supported in the current execution environment.

NOTE: This will not work correctly for non-generic events such as `change`,
`reset`, `load`, `error`, and `select`.

Borrows from Modernizr.

return: {boolean} True if the event is supported.
param: {string} eventNameSuffix Event name, e.g. "click".

isCheckable(elem)   X-Ref
No description

getTracker(node)   X-Ref
No description

detachTracker(node)   X-Ref
No description

getValueFromNode(node)   X-Ref
No description

trackValueOnNode(node)   X-Ref
No description

track(node)   X-Ref
No description

updateValueIfChanged(node)   X-Ref
No description

getIteratorFn(maybeIterable)   X-Ref
No description

getResultFromResolvedThenable(thenable)   X-Ref
No description

refineResolvedThenable(thenable)   X-Ref
No description

getComponentName(type)   X-Ref
No description

describeFiber(fiber)   X-Ref
No description

getStackByFiberInDevAndProd(workInProgress)   X-Ref
No description

getCurrentFiberOwnerNameInDevOrNull()   X-Ref
No description

getCurrentFiberStackInDev()   X-Ref
No description

resetCurrentFiber()   X-Ref
No description

setCurrentFiber(fiber)   X-Ref
No description

setCurrentPhase(lifeCyclePhase)   X-Ref
No description

isAttributeNameSafe(attributeName)   X-Ref
No description

shouldIgnoreAttribute(name, propertyInfo, isCustomComponentTag)   X-Ref
No description

shouldRemoveAttributeWithWarning(name, value, propertyInfo, isCustomComponentTag)   X-Ref
No description

shouldRemoveAttribute(name, value, propertyInfo, isCustomComponentTag)   X-Ref
No description

getPropertyInfo(name)   X-Ref
No description

PropertyInfoRecord(name, type, mustUseProperty, attributeName, attributeNamespace)   X-Ref
No description

getValueForProperty(node, name, expected, propertyInfo)   X-Ref
Get the value for a property on a node. Only used in DEV for SSR validation.
The "expected" argument is used as a hint of what the expected value is.
Some properties have multiple equivalent values.


getValueForAttribute(node, name, expected)   X-Ref
Get the value for a attribute on a node. Only used in DEV for SSR validation.
The third argument is used as a hint of what the expected value is. Some
attributes have multiple equivalent values.


setValueForProperty(node, name, value, isCustomComponentTag)   X-Ref
Sets the value for a property on a node.

param: {DOMElement} node
param: {string} name
param: {*} value

toString(value)   X-Ref
No description

getToStringValue(value)   X-Ref
No description

checkPropTypes(typeSpecs, values, location, componentName, getStack)   X-Ref
Assert that the values match with the type specs.
Error messages are memorized and will only be shown once.

param: {object} typeSpecs Map of name to a ReactPropType
param: {object} values Runtime values that need to be type-checked
param: {string} location e.g. "prop", "context", "child context"
param: {string} componentName Name of the component for error messages.
param: {?Function} getStack Returns the component stack.

isControlled(props)   X-Ref
No description

getHostProps(element, props)   X-Ref
Implements an <input> host component that allows setting these optional
props: `checked`, `value`, `defaultChecked`, and `defaultValue`.

If `checked` or `value` are not supplied (or null/undefined), user actions
that affect the checked state or value will trigger updates to the element.

If they are supplied (and not null/undefined), the rendered element will not
trigger updates to the element. Instead, the props must change in order for
the rendered element to be updated.

The rendered element will be initialized as unchecked (or `defaultChecked`)
with an empty value (or `defaultValue`).

See http://www.w3.org/TR/2012/WD-html5-20121025/the-input-element.html

initWrapperState(element, props)   X-Ref
No description

updateChecked(element, props)   X-Ref
No description

updateWrapper(element, props)   X-Ref
No description

postMountWrapper(element, props, isHydrating)   X-Ref
No description

restoreControlledState(element, props)   X-Ref
No description

updateNamedCousins(rootNode, props)   X-Ref
No description

setDefaultValue(node, type, value)   X-Ref
No description

createAndAccumulateChangeEvent(inst, nativeEvent, target)   X-Ref
No description

shouldUseChangeEvent(elem)   X-Ref
SECTION: handle `change` event


manualDispatchChangeEvent(nativeEvent)   X-Ref
No description

runEventInBatch(event)   X-Ref
No description

getInstIfValueChanged(targetInst)   X-Ref
No description

getTargetInstForChangeEvent(topLevelType, targetInst)   X-Ref
No description

startWatchingForValueChange(target, targetInst)   X-Ref
(For IE <=9) Starts tracking propertychange events on the passed-in element
and override the value property so that we can distinguish user events from
value changes in JS.


stopWatchingForValueChange()   X-Ref
(For IE <=9) Removes the event listeners from the currently-tracked element,
if any exists.


handlePropertyChange(nativeEvent)   X-Ref
(For IE <=9) Handles a propertychange event, sending a `change` event if
the value of the active element has changed.


handleEventsForInputEventPolyfill(topLevelType, target, targetInst)   X-Ref
No description

getTargetInstForInputEventPolyfill(topLevelType, targetInst)   X-Ref
No description

shouldUseClickEvent(elem)   X-Ref
SECTION: handle `click` event


getTargetInstForClickEvent(topLevelType, targetInst)   X-Ref
No description

getTargetInstForInputOrChangeEvent(topLevelType, targetInst)   X-Ref
No description

handleControlledInputBlur(node)   X-Ref
No description

modifierStateGetter(keyArg)   X-Ref
No description

getEventModifierState(nativeEvent)   X-Ref
No description

is(x, y)   X-Ref
inlined Object.is polyfill to avoid requiring consumers ship their own
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object/is


shallowEqual(objA, objB)   X-Ref
Performs equality by iterating through keys on an object and returning false
when any key has values which are not strictly equal between the arguments.
Returns true when the values of all keys are strictly equal.


get(key)   X-Ref
This API should be called `delete` but we'd have to make sure to always
transform these to strings for IE support. When this transform is fully
supported we can rename it.


has(key)   X-Ref
No description

set(key, value)   X-Ref
No description

isFiberMountedImpl(fiber)   X-Ref
No description

isFiberMounted(fiber)   X-Ref
No description

isMounted(component)   X-Ref
No description

assertIsMounted(fiber)   X-Ref
No description

findCurrentFiberUsingSlowPath(fiber)   X-Ref
No description

findCurrentHostFiber(parent)   X-Ref
No description

findCurrentHostFiberWithNoPortals(parent)   X-Ref
No description

addEventBubbleListener(element, eventType, listener)   X-Ref
No description

addEventCaptureListener(element, eventType, listener)   X-Ref
No description

getEventCharCode(nativeEvent)   X-Ref
`charCode` represents the actual "character code" and is safe to use with
`String.fromCharCode`. As such, only keys that correspond to printable
characters produce a valid `charCode`, the only exception to this is Enter.
The Tab-key is considered non-printable and does not have a `charCode`,
presumably because it does not produce a tab-character in browsers.

return: {number} Normalized `charCode` property.
param: {object} nativeEvent Native browser event.

getEventKey(nativeEvent)   X-Ref

return: {string} Normalized `key` property.
param: {object} nativeEvent Native browser event.

addEventTypeNameToConfig(_ref, isInteractive)   X-Ref
No description

findRootContainerNode(inst)   X-Ref
Find the deepest React component completely containing the root of the
passed-in instance (for use when entire React trees are nested within each
other). If React trees are not nested, returns null.


getTopLevelCallbackBookKeeping(topLevelType, nativeEvent, targetInst)   X-Ref
No description

releaseTopLevelCallbackBookKeeping(instance)   X-Ref
No description

handleTopLevel(bookKeeping)   X-Ref
No description

setEnabled(enabled)   X-Ref
No description

isEnabled()   X-Ref
No description

trapBubbledEvent(topLevelType, element)   X-Ref
Traps top-level events by using event bubbling.

return: {?object} An object with a remove function which will forcefully
param: {number} topLevelType Number from `TopLevelEventTypes`.
param: {object} element Element on which to attach listener.

trapCapturedEvent(topLevelType, element)   X-Ref
Traps a top-level event by using event capturing.

return: {?object} An object with a remove function which will forcefully
param: {number} topLevelType Number from `TopLevelEventTypes`.
param: {object} element Element on which to attach listener.

dispatchInteractiveEvent(topLevelType, nativeEvent)   X-Ref
No description

dispatchEvent(topLevelType, nativeEvent)   X-Ref
No description

getListeningForDocument(mountAt)   X-Ref
To ensure no conflicts with other potential React instances on the page


listenTo(registrationName, mountAt)   X-Ref
We listen for bubbled touch events on the document object.

Firefox v8.01 (and possibly others) exhibited strange behavior when
mounting `onmousemove` events at some node that was not the document
element. The symptoms were that if your mouse is not moving over something
contained within that mount point (for example on the background) the
top-level listeners for `onmousemove` won't be called. However, if you
register the `mousemove` on the document object, then it will of course
catch all `mousemove`s. This along with iOS quirks, justifies restricting
top-level listeners to the document object only, at least for these
movement types of events and possibly all events.

param: {string} registrationName Name of listener (e.g. `onClick`).
param: {object} mountAt Container where to mount the listener

isListeningToAllDependencies(registrationName, mountAt)   X-Ref
No description

getActiveElement(doc)   X-Ref
No description

getLeafNode(node)   X-Ref
Given any node return the first leaf node without children.

return: {DOMElement|DOMTextNode}
param: {DOMElement|DOMTextNode} node

getSiblingNode(node)   X-Ref
Get the next sibling within a container. This will walk up the
DOM if a node's siblings have been exhausted.

return: {?DOMElement|DOMTextNode}
param: {DOMElement|DOMTextNode} node

getNodeForCharacterOffset(root, offset)   X-Ref
Get object describing the nodes which contain characters at offset.

return: {?object}
param: {DOMElement|DOMTextNode} root
param: {number} offset

getOffsets(outerNode)   X-Ref

return: {?object}
param: {DOMElement} outerNode

getModernOffsetsFromPoints(outerNode, anchorNode, anchorOffset, focusNode, focusOffset)   X-Ref
Returns {start, end} where `start` is the character/codepoint index of
(anchorNode, anchorOffset) within the textContent of `outerNode`, and
`end` is the index of (focusNode, focusOffset).

Returns null if you pass in garbage input but we should probably just crash.

Exported only for testing.

setOffsets(node, offsets)   X-Ref
In modern non-IE browsers, we can support both forward and backward
selections.

Note: IE10+ supports the Selection object, but it does not support
the `extend` method, which means that even in modern IE, it's not possible
to programmatically create a backward selection. Thus, for all IE
versions, we use the old IE API to create our selections.

param: {DOMElement|DOMTextNode} node
param: {object} offsets

isTextNode(node)   X-Ref
No description

containsNode(outerNode, innerNode)   X-Ref
No description

isInDocument(node)   X-Ref
No description

getActiveElementDeep()   X-Ref
No description

hasSelectionCapabilities(elem)   X-Ref


getSelectionInformation()   X-Ref
No description

restoreSelection(priorSelectionInformation)   X-Ref


getSelection(var selection = void 0;if ('selectionStart' in input)   X-Ref


setSelection(input, offsets)   X-Ref


getSelection(node)   X-Ref
Get an object which is a unique representation of the current selection.

The return value will not be consistent across nodes or browsers, but
two identical selections on the same node will return identical objects.

return: {object}
param: {DOMElement} node

getEventTargetDocument(eventTarget)   X-Ref
Get document associated with the event target.

return: {Document}
param: {object} nativeEventTarget

constructSelectEvent(nativeEvent, nativeEventTarget)   X-Ref
Poll selection to see whether it's changed.

return: {?SyntheticEvent}
param: {object} nativeEvent
param: {object} nativeEventTarget

flattenChildren(children)   X-Ref
No description

validateProps(element, props)   X-Ref
Implements an <option> host component that warns when `selected` is set.


postMountWrapper(if (props.value != null)   X-Ref
No description

getHostProps(var hostProps = _assign({ children: undefined }, props)   X-Ref
No description

getDeclarationErrorAddendum()   X-Ref
No description

checkSelectPropTypes(props)   X-Ref
Validation function for `value` and `defaultValue`.


updateOptions(node, multiple, propValue, setDefaultSelected)   X-Ref
No description

getHostProps(return _assign({}, props, {value: undefined})   X-Ref
Implements a <select> host component that allows optionally setting the
props `value` and `defaultValue`. If `multiple` is false, the prop must be a
stringable. If `multiple` is true, the prop must be an array of stringables.

If `value` is not supplied (or null/undefined), user actions that change the
selected option will trigger updates to the rendered options.

If it is supplied (and not null/undefined), the rendered options will not
update in response to user actions. Instead, the `value` prop must change in
order for the rendered options to update.

If `defaultValue` is provided, any options with the supplied values will be
selected.

initWrapperState(var node = element;{checkSelectPropTypes(props)   X-Ref
No description

postMountWrapper(var node = element;node.multiple = !!props.multiple;var value = props.value;if (value != null)   X-Ref
No description

postUpdateWrapper(element, props)   X-Ref
No description

restoreControlledState(var node = element;var value = props.value;if (value != null)   X-Ref
No description

getHostProps(var node = element;!(props.dangerouslySetInnerHTML == null)   X-Ref
Implements a <textarea> host component that allows setting `value`, and
`defaultValue`. This differs from the traditional DOM API because value is
usually set as PCDATA children.

If `value` is not supplied (or null/undefined), user actions that affect the
value will trigger updates to the element.

If `value` is supplied (and not null/undefined), the rendered element will
not trigger updates to the element. Instead, the `value` prop must change in
order for the rendered element to be updated.

The rendered element will be initialized with an empty value, the prop
`defaultValue` if specified, or the children content (deprecated).

initWrapperState(var node = element;{ReactControlledValuePropTypes.checkPropTypes('textarea', props)   X-Ref
No description

updateWrapper(var node = element;var value = getToStringValue(props.value)   X-Ref
No description

postMountWrapper(var node = element;var textContent = node.textContent;if (textContent === node._wrapperState.initialValue)   X-Ref
No description

restoreControlledState(updateWrapper$1(element, props)   X-Ref
No description

getIntrinsicNamespace(type)   X-Ref
No description

getChildNamespace(parentNamespace, type)   X-Ref
No description

prefixKey(prefix, key)   X-Ref

return: {string} style name prefixed with `prefix`, properly camelCased, eg:
param: {string} prefix vendor-specific prefix, eg: Webkit
param: {string} key style name, eg: transitionDuration

dangerousStyleValue(name, value, isCustomProperty)   X-Ref
Convert a value into the proper css writable value. The style name `name`
should be logical (no hyphens), as specified
in `CSSProperty.isUnitlessNumber`.

return: {string} Normalized style value with dimensions applied.
param: {string} name CSS property name such as `topMargin`.
param: {*} value CSS property value such as `10px`.

hyphenateStyleName(name)   X-Ref
Hyphenates a camelcased CSS property name, for example:

> hyphenateStyleName('backgroundColor')
< "background-color"
> hyphenateStyleName('MozTransition')
< "-moz-transition"
> hyphenateStyleName('msTransition')
< "-ms-transition"

As Modernizr suggests (http://modernizr.com/docs/#prefixed), an `ms` prefix
is converted to `-ms-`.

createDangerousStringForStyles(styles)   X-Ref
This creates a string that is expected to be equivalent to the style
attribute generated by server-side rendering. It by-passes warnings and
security checks so it's not safe to use this value for anything other than
comparison. It is only used in DEV for SSR validation.


setValueForStyles(node, styles)   X-Ref
Sets the value for multiple styles on a node.  If a value is specified as
'' (empty string), the corresponding style property will be unset.

param: {DOMElement} node
param: {object} styles

assertValidProps(tag, props)   X-Ref
No description

isCustomComponent(tagName, props)   X-Ref
No description

validateProperty(tagName, name)   X-Ref
No description

warnInvalidARIAProps(type, props)   X-Ref
No description

validateProperties(type, props)   X-Ref
No description

validateProperties(if (type !== 'input' && type !== 'textarea' && type !== 'select')   X-Ref
No description

validateProperties(if (isCustomComponent(type, props)   X-Ref
No description

ensureListeningTo(rootContainerElement, registrationName)   X-Ref
No description

getOwnerDocumentFromRootContainer(rootContainerElement)   X-Ref
No description

noop()   X-Ref
No description

trapClickOnNonInteractiveElement(node)   X-Ref
No description

setInitialDOMProperties(tag, domElement, rootContainerElement, nextProps, isCustomComponentTag)   X-Ref
No description

updateDOMProperties(domElement, updatePayload, wasCustomComponentTag, isCustomComponentTag)   X-Ref
No description

createElement(type, props, rootContainerElement, parentNamespace)   X-Ref
No description

createTextNode(text, rootContainerElement)   X-Ref
No description

setInitialProperties(domElement, tag, rawProps, rootContainerElement)   X-Ref
No description

diffProperties(domElement, tag, lastRawProps, nextRawProps, rootContainerElement)   X-Ref
No description

updateProperties(domElement, updatePayload, tag, lastRawProps, nextRawProps)   X-Ref
No description

getPossibleStandardName(propName)   X-Ref
No description

diffHydratedProperties(domElement, tag, rawProps, parentNamespace, rootContainerElement)   X-Ref
No description

diffHydratedText(textNode, text)   X-Ref
No description

warnForUnmatchedText(textNode, text)   X-Ref
No description

warnForDeletedHydratableElement(parentNode, child)   X-Ref
No description

warnForDeletedHydratableText(parentNode, child)   X-Ref
No description

warnForInsertedHydratedElement(parentNode, tag, props)   X-Ref
No description

warnForInsertedHydratedText(parentNode, text)   X-Ref
No description

restoreControlledState(switch (tag)   X-Ref
No description

shim()   X-Ref
No description

shouldAutoFocusHostComponent(type, props)   X-Ref
No description

getRootHostContext(rootContainerInstance)   X-Ref
No description

getChildHostContext(parentHostContext, type, rootContainerInstance)   X-Ref
No description

getPublicInstance(instance)   X-Ref
No description

prepareForCommit(containerInfo)   X-Ref
No description

resetAfterCommit(containerInfo)   X-Ref
No description

createInstance(type, props, rootContainerInstance, hostContext, internalInstanceHandle)   X-Ref
No description

appendInitialChild(parentInstance, child)   X-Ref
No description

finalizeInitialChildren(domElement, type, props, rootContainerInstance, hostContext)   X-Ref
No description

prepareUpdate(domElement, type, oldProps, newProps, rootContainerInstance, hostContext)   X-Ref
No description

shouldSetTextContent(type, props)   X-Ref
No description

shouldDeprioritizeSubtree(type, props)   X-Ref
No description

createTextInstance(text, rootContainerInstance, hostContext, internalInstanceHandle)   X-Ref
No description

commitMount(domElement, type, newProps, internalInstanceHandle)   X-Ref
No description

commitUpdate(domElement, updatePayload, type, oldProps, newProps, internalInstanceHandle)   X-Ref
No description

resetTextContent(domElement)   X-Ref
No description

commitTextUpdate(textInstance, oldText, newText)   X-Ref
No description

appendChild(parentInstance, child)   X-Ref
No description

appendChildToContainer(container, child)   X-Ref
No description

insertBefore(parentInstance, child, beforeChild)   X-Ref
No description

insertInContainerBefore(container, child, beforeChild)   X-Ref
No description

removeChild(parentInstance, child)   X-Ref
No description

removeChildFromContainer(container, child)   X-Ref
No description

canHydrateInstance(instance, type, props)   X-Ref
No description

canHydrateTextInstance(instance, text)   X-Ref
No description

getNextHydratableSibling(instance)   X-Ref
No description

getFirstHydratableChild(parentInstance)   X-Ref
No description

hydrateInstance(instance, type, props, rootContainerInstance, hostContext, internalInstanceHandle)   X-Ref
No description

hydrateTextInstance(textInstance, text, internalInstanceHandle)   X-Ref
No description

didNotMatchHydratedContainerTextInstance(parentContainer, textInstance, text)   X-Ref
No description

didNotMatchHydratedTextInstance(parentType, parentProps, parentInstance, textInstance, text)   X-Ref
No description

didNotHydrateContainerInstance(parentContainer, instance)   X-Ref
No description

didNotHydrateInstance(parentType, parentProps, parentInstance, instance)   X-Ref
No description

didNotFindHydratableContainerInstance(parentContainer, type, props)   X-Ref
No description

didNotFindHydratableContainerTextInstance(parentContainer, text)   X-Ref
No description

didNotFindHydratableInstance(parentType, parentProps, parentInstance, type, props)   X-Ref
No description

didNotFindHydratableTextInstance(parentType, parentProps, parentInstance, text)   X-Ref
No description

recordEffect()   X-Ref
No description

recordScheduleUpdate()   X-Ref
No description

startRequestCallbackTimer()   X-Ref
No description

stopRequestCallbackTimer(didExpire, expirationTime)   X-Ref
No description

startWorkTimer(fiber)   X-Ref
No description

cancelWorkTimer(fiber)   X-Ref
No description

stopWorkTimer(fiber)   X-Ref
No description

stopFailedWorkTimer(fiber)   X-Ref
No description

startPhaseTimer(fiber, phase)   X-Ref
No description

stopPhaseTimer()   X-Ref
No description

startWorkLoopTimer(nextUnitOfWork)   X-Ref
No description

stopWorkLoopTimer(interruptedBy, didCompleteRoot)   X-Ref
No description

startCommitTimer()   X-Ref
No description

stopCommitTimer()   X-Ref
No description

startCommitSnapshotEffectsTimer()   X-Ref
No description

stopCommitSnapshotEffectsTimer()   X-Ref
No description

startCommitHostEffectsTimer()   X-Ref
No description

stopCommitHostEffectsTimer()   X-Ref
No description

startCommitLifeCyclesTimer()   X-Ref
No description

stopCommitLifeCyclesTimer()   X-Ref
No description

createCursor(defaultValue)   X-Ref
No description

pop(cursor, fiber)   X-Ref
No description

push(cursor, value, fiber)   X-Ref
No description

checkThatStackIsEmpty()   X-Ref
No description

resetStackAfterFatalErrorInDev()   X-Ref
No description

getUnmaskedContext(workInProgress, Component, didPushOwnContextIfProvider)   X-Ref
No description

cacheContext(workInProgress, unmaskedContext, maskedContext)   X-Ref
No description

getMaskedContext(workInProgress, unmaskedContext)   X-Ref
No description

hasContextChanged()   X-Ref
No description

isContextProvider(type)   X-Ref
No description

popContext(fiber)   X-Ref
No description

popTopLevelContextObject(fiber)   X-Ref
No description

pushTopLevelContextObject(fiber, context, didChange)   X-Ref
No description

processChildContext(fiber, type, parentContext)   X-Ref
No description

pushContextProvider(workInProgress)   X-Ref
No description

invalidateContextProvider(workInProgress, type, didChange)   X-Ref
No description

findCurrentUnmaskedContext(fiber)   X-Ref
No description

catchErrors(fn)   X-Ref
No description

injectInternals(internals)   X-Ref
No description

onCommitRoot(root)   X-Ref
No description

onCommitUnmount(fiber)   X-Ref
No description

msToExpirationTime(ms)   X-Ref
No description

expirationTimeToMs(expirationTime)   X-Ref
No description

ceiling(num, precision)   X-Ref
No description

computeExpirationBucket(currentTime, expirationInMs, bucketSizeMs)   X-Ref
No description

computeAsyncExpiration(currentTime)   X-Ref
No description

computeInteractiveExpiration(currentTime)   X-Ref
No description

FiberNode(tag, pendingProps, key, mode)   X-Ref
No description

shouldConstruct(Component)   X-Ref
No description

resolveLazyComponentTag(fiber, Component)   X-Ref
No description

createWorkInProgress(current, pendingProps, expirationTime)   X-Ref
No description

createHostRootFiber(isAsync)   X-Ref
No description

createFiberFromElement(element, mode, expirationTime)   X-Ref
No description

createFiberFromFragment(elements, mode, expirationTime, key)   X-Ref
No description

createFiberFromProfiler(pendingProps, mode, expirationTime, key)   X-Ref
No description

createFiberFromText(content, mode, expirationTime)   X-Ref
No description

createFiberFromHostInstanceForDeletion()   X-Ref
No description

createFiberFromPortal(portal, mode, expirationTime)   X-Ref
No description

assignFiberPropertiesInDEV(target, source)   X-Ref
No description

createFiberRoot(containerInfo, isAsync, hydrate)   X-Ref
No description

markPendingPriorityLevel(root, expirationTime)   X-Ref
No description

markCommittedPriorityLevels(root, earliestRemainingTime)   X-Ref
No description

hasLowerPriorityWork(root, erroredExpirationTime)   X-Ref
No description

isPriorityLevelSuspended(root, expirationTime)   X-Ref
No description

markSuspendedPriorityLevel(root, suspendedTime)   X-Ref
No description

markPingedPriorityLevel(root, pingedTime)   X-Ref
No description

clearPing(root, completedTime)   X-Ref
No description

findEarliestOutstandingPriorityLevel(root, renderExpirationTime)   X-Ref
No description

didExpireAtExpirationTime(root, currentTime)   X-Ref
No description

findNextExpirationTimeToWorkOn(completedExpirationTime, root)   X-Ref
No description

createUpdateQueue(baseState)   X-Ref
No description

cloneUpdateQueue(currentQueue)   X-Ref
No description

createUpdate(expirationTime)   X-Ref
No description

appendUpdateToQueue(queue, update)   X-Ref
No description

enqueueUpdate(fiber, update)   X-Ref
No description

enqueueCapturedUpdate(workInProgress, update)   X-Ref
No description

ensureWorkInProgressQueueIsAClone(workInProgress, queue)   X-Ref
No description

getStateFromUpdate(workInProgress, queue, update, prevState, nextProps, instance)   X-Ref
No description

processUpdateQueue(workInProgress, queue, props, instance, renderExpirationTime)   X-Ref
No description

callCallback(callback, context)   X-Ref
No description

resetHasForceUpdateBeforeProcessing()   X-Ref
No description

checkHasForceUpdateAfterProcessing()   X-Ref
No description

commitUpdateQueue(finishedWork, finishedQueue, instance, renderExpirationTime)   X-Ref
No description

commitUpdateEffects(effect, instance)   X-Ref
No description

createCapturedValue(value, source)   X-Ref
No description

resetContextDependences()   X-Ref
No description

pushProvider(providerFiber, nextValue)   X-Ref
No description

popProvider(providerFiber)   X-Ref
No description

calculateChangedBits(context, newValue, oldValue)   X-Ref
No description

propagateContextChange(workInProgress, context, changedBits, renderExpirationTime)   X-Ref
No description

prepareToReadContext(workInProgress, renderExpirationTime)   X-Ref
No description

readContext(context, observedBits)   X-Ref
No description

requiredContext(c)   X-Ref
No description

getRootHostContainer()   X-Ref
No description

pushHostContainer(fiber, nextRootInstance)   X-Ref
No description

popHostContainer(fiber)   X-Ref
No description

getHostContext()   X-Ref
No description

pushHostContext(fiber)   X-Ref
No description

popHostContext(fiber)   X-Ref
No description

getCommitTime()   X-Ref
No description

recordCommitTime()   X-Ref
No description

startProfilerTimer(fiber)   X-Ref
No description

stopProfilerTimerIfRunning(fiber)   X-Ref
No description

stopProfilerTimerIfRunningAndRecordDelta(fiber, overrideBaseTime)   X-Ref
No description

applyDerivedStateFromProps(workInProgress, ctor, getDerivedStateFromProps, nextProps)   X-Ref
No description

checkShouldComponentUpdate(workInProgress, ctor, oldProps, newProps, oldState, newState, nextLegacyContext)   X-Ref
No description

checkClassInstance(workInProgress, ctor, newProps)   X-Ref
No description

adoptClassInstance(workInProgress, instance)   X-Ref
No description

constructClassInstance(workInProgress, ctor, props, renderExpirationTime)   X-Ref
No description

callComponentWillMount(workInProgress, instance)   X-Ref
No description

callComponentWillReceiveProps(workInProgress, instance, newProps, nextLegacyContext)   X-Ref
No description

mountClassInstance(workInProgress, ctor, newProps, renderExpirationTime)   X-Ref
No description

resumeMountClassInstance(workInProgress, ctor, newProps, renderExpirationTime)   X-Ref
No description

updateClassInstance(current, workInProgress, ctor, newProps, renderExpirationTime)   X-Ref
No description

coerceRef(returnFiber, current$$1, element)   X-Ref
No description

throwOnInvalidObjectType(returnFiber, newChild)   X-Ref
No description

warnOnFunctionType()   X-Ref
No description

ChildReconciler(shouldTrackSideEffects)   X-Ref
No description

deleteChild(returnFiber, childToDelete)   X-Ref
No description

deleteRemainingChildren(returnFiber, currentFirstChild)   X-Ref
No description

mapRemainingChildren(returnFiber, currentFirstChild)   X-Ref
No description

useFiber(fiber, pendingProps, expirationTime)   X-Ref
No description

placeChild(newFiber, lastPlacedIndex, newIndex)   X-Ref
No description

placeSingleChild(newFiber)   X-Ref
No description

updateTextNode(returnFiber, current$$1, textContent, expirationTime)   X-Ref
No description

updateElement(returnFiber, current$$1, element, expirationTime)   X-Ref
No description

updatePortal(returnFiber, current$$1, portal, expirationTime)   X-Ref
No description

updateFragment(returnFiber, current$$1, fragment, expirationTime, key)   X-Ref
No description

createChild(returnFiber, newChild, expirationTime)   X-Ref
No description

updateSlot(returnFiber, oldFiber, newChild, expirationTime)   X-Ref
No description

updateFromMap(existingChildren, returnFiber, newIdx, newChild, expirationTime)   X-Ref
No description

warnOnInvalidKey(child, knownKeys)   X-Ref
Warns if there is a duplicate or missing key


reconcileChildrenArray(returnFiber, currentFirstChild, newChildren, expirationTime)   X-Ref
No description

reconcileChildrenIterator(returnFiber, currentFirstChild, newChildrenIterable, expirationTime)   X-Ref
No description

reconcileSingleTextNode(returnFiber, currentFirstChild, textContent, expirationTime)   X-Ref
No description

reconcileSingleElement(returnFiber, currentFirstChild, element, expirationTime)   X-Ref
No description

reconcileSinglePortal(returnFiber, currentFirstChild, portal, expirationTime)   X-Ref
No description

reconcileChildFibers(returnFiber, currentFirstChild, newChild, expirationTime)   X-Ref
No description

cloneChildFibers(current$$1, workInProgress)   X-Ref
No description

enterHydrationState(fiber)   X-Ref
No description

deleteHydratableInstance(returnFiber, instance)   X-Ref
No description

insertNonHydratedInstance(returnFiber, fiber)   X-Ref
No description

tryHydrate(fiber, nextInstance)   X-Ref
No description

tryToClaimNextHydratableInstance(fiber)   X-Ref
No description

prepareToHydrateHostInstance(fiber, rootContainerInstance, hostContext)   X-Ref
No description

prepareToHydrateHostTextInstance(fiber)   X-Ref
No description

popToNextHostParent(fiber)   X-Ref
No description

popHydrationState(fiber)   X-Ref
No description

resetHydrationState()   X-Ref
No description

readLazyComponentType(thenable)   X-Ref
No description

reconcileChildren(current$$1, workInProgress, nextChildren, renderExpirationTime)   X-Ref
No description

updateForwardRef(current$$1, workInProgress, type, nextProps, renderExpirationTime)   X-Ref
No description

updateFragment(current$$1, workInProgress, renderExpirationTime)   X-Ref
No description

updateMode(current$$1, workInProgress, renderExpirationTime)   X-Ref
No description

updateProfiler(current$$1, workInProgress, renderExpirationTime)   X-Ref
No description

markRef(current$$1, workInProgress)   X-Ref
No description

updateFunctionalComponent(current$$1, workInProgress, Component, nextProps, renderExpirationTime)   X-Ref
No description

updateClassComponent(current$$1, workInProgress, Component, nextProps, renderExpirationTime)   X-Ref
No description

finishClassComponent(current$$1, workInProgress, Component, shouldUpdate, hasContext, renderExpirationTime)   X-Ref
No description

pushHostRootContext(workInProgress)   X-Ref
No description

updateHostRoot(current$$1, workInProgress, renderExpirationTime)   X-Ref
No description

updateHostComponent(current$$1, workInProgress, renderExpirationTime)   X-Ref
No description

updateHostText(current$$1, workInProgress)   X-Ref
No description

resolveDefaultProps(Component, baseProps)   X-Ref
No description

mountIndeterminateComponent(current$$1, workInProgress, Component, renderExpirationTime)   X-Ref
No description

updatePlaceholderComponent(current$$1, workInProgress, renderExpirationTime)   X-Ref
No description

updatePortalComponent(current$$1, workInProgress, renderExpirationTime)   X-Ref
No description

updateContextProvider(current$$1, workInProgress, renderExpirationTime)   X-Ref
No description

updateContextConsumer(current$$1, workInProgress, renderExpirationTime)   X-Ref
No description

bailoutOnAlreadyFinishedWork(current$$1, workInProgress, renderExpirationTime)   X-Ref
No description

memoizeProps(workInProgress, nextProps)   X-Ref
No description

memoizeState(workInProgress, nextState)   X-Ref
No description

beginWork(current$$1, workInProgress, renderExpirationTime)   X-Ref
No description

markUpdate(workInProgress)   X-Ref
No description

markRef(workInProgress.effectTag |= Ref;}function appendAllChildren(parent, workInProgress)   X-Ref
No description

completeWork(current, workInProgress, renderExpirationTime)   X-Ref
No description

showErrorDialog(capturedError)   X-Ref
No description

logCapturedError(capturedError)   X-Ref
No description

logError(boundary, errorInfo)   X-Ref
No description

safelyCallComponentWillUnmount(current$$1, instance)   X-Ref
No description

safelyDetachRef(current$$1)   X-Ref
No description

commitBeforeMutationLifeCycles(current$$1, finishedWork)   X-Ref
No description

commitLifeCycles(finishedRoot, current$$1, finishedWork, committedExpirationTime)   X-Ref
No description

commitAttachRef(finishedWork)   X-Ref
No description

commitDetachRef(current$$1)   X-Ref
No description

commitUnmount(current$$1)   X-Ref
No description

commitNestedUnmounts(root)   X-Ref
No description

detachFiber(current$$1)   X-Ref
No description

emptyPortalContainer(current$$1)   X-Ref
No description

commitContainer(finishedWork)   X-Ref
No description

getHostParentFiber(fiber)   X-Ref
No description

isHostParent(fiber)   X-Ref
No description

getHostSibling(fiber)   X-Ref
No description

commitPlacement(finishedWork)   X-Ref
No description

unmountHostComponents(current$$1)   X-Ref
No description

commitDeletion(current$$1)   X-Ref
No description

commitWork(current$$1, finishedWork)   X-Ref
No description

commitResetTextContent(current$$1)   X-Ref
No description

NoopComponent()   X-Ref
No description

createRootErrorUpdate(fiber, errorInfo, expirationTime)   X-Ref
No description

createClassErrorUpdate(fiber, errorInfo, expirationTime)   X-Ref
No description

throwException(root, returnFiber, sourceFiber, value, renderExpirationTime)   X-Ref
No description

unwindWork(workInProgress, renderExpirationTime)   X-Ref
No description

unwindInterruptedWork(interruptedWork)   X-Ref
No description

resetStack()   X-Ref
No description

commitAllHostEffects()   X-Ref
No description

commitBeforeMutationLifecycles()   X-Ref
No description

commitAllLifeCycles(finishedRoot, committedExpirationTime)   X-Ref
No description

isAlreadyFailedLegacyErrorBoundary(instance)   X-Ref
No description

markLegacyErrorBoundaryAsFailed(instance)   X-Ref
No description

commitRoot(root, finishedWork)   X-Ref
No description

resetChildExpirationTime(workInProgress, renderTime)   X-Ref
No description

completeUnitOfWork(workInProgress)   X-Ref
No description

performUnitOfWork(workInProgress)   X-Ref
No description

workLoop(isYieldy)   X-Ref
No description

renderRoot(root, isYieldy, isExpired)   X-Ref
No description

dispatch(sourceFiber, value, expirationTime)   X-Ref
No description

captureCommitPhaseError(fiber, error)   X-Ref
No description

computeThreadID(expirationTime, interactionThreadID)   X-Ref
No description

computeUniqueAsyncExpiration()   X-Ref
No description

computeExpirationForFiber(currentTime, fiber)   X-Ref
No description

renderDidSuspend(root, absoluteTimeoutMs, suspendedTime)   X-Ref
No description

renderDidError()   X-Ref
No description

retrySuspendedRoot(root, fiber, suspendedTime)   X-Ref
No description

scheduleWorkToRoot(fiber, expirationTime)   X-Ref
No description

storeInteractionsForExpirationTime(root, expirationTime, updateInteractionCounts)   X-Ref
No description

scheduleWork(fiber, expirationTime)   X-Ref
No description

syncUpdates(fn, a, b, c, d)   X-Ref
No description

recomputeCurrentRendererTime()   X-Ref
No description

scheduleCallbackWithExpirationTime(root, expirationTime)   X-Ref
No description

onFatal(root)   X-Ref
No description

onComplete(root, finishedWork, expirationTime)   X-Ref
No description

onSuspend(root, finishedWork, suspendedExpirationTime, rootExpirationTime, msUntilTimeout)   X-Ref
No description

onYield(root)   X-Ref
No description

onTimeout(root, finishedWork, suspendedExpirationTime)   X-Ref
No description

onCommit(root, expirationTime)   X-Ref
No description

requestCurrentTime()   X-Ref
No description

requestWork(root, expirationTime)   X-Ref
No description

addRootToSchedule(root, expirationTime)   X-Ref
No description

findHighestPriorityRoot()   X-Ref
No description

performAsyncWork(dl)   X-Ref
No description

performSyncWork()   X-Ref
No description

performWork(minExpirationTime, dl)   X-Ref
No description

flushRoot(root, expirationTime)   X-Ref
No description

finishRendering()   X-Ref
No description

performWorkOnRoot(root, expirationTime, isExpired)   X-Ref
No description

completeRoot(root, finishedWork, expirationTime)   X-Ref
No description

shouldYield()   X-Ref
No description

onUncaughtError(error)   X-Ref
No description

batchedUpdates(var previousIsBatchingUpdates = isBatchingUpdates;isBatchingUpdates = true;try {return fn(a)   X-Ref
No description

unbatchedUpdates(fn, a)   X-Ref
No description

flushSync(fn, a)   X-Ref
No description

interactiveUpdates(if (isBatchingInteractiveUpdates)   X-Ref
No description

flushInteractiveUpdates(if (!isRendering && lowestPriorityPendingInteractiveExpirationTime !== NoWork)   X-Ref
No description

flushControlled(fn)   X-Ref
No description

getContextForSubtree(parentComponent)   X-Ref
No description

scheduleRootUpdate(current$$1, element, expirationTime, callback)   X-Ref
No description

updateContainerAtExpirationTime(element, container, parentComponent, expirationTime, callback)   X-Ref
No description

findHostInstance(component)   X-Ref
No description

createContainer(containerInfo, isAsync, hydrate)   X-Ref
No description

updateContainer(element, container, parentComponent, callback)   X-Ref
No description

getPublicRootInstance(container)   X-Ref
No description

findHostInstanceWithNoPortals(fiber)   X-Ref
No description

injectIntoDevTools(devToolsConfig)   X-Ref
No description

createPortal(implementation)   X-Ref
No description

ReactBatch(root)   X-Ref
No description

ReactWork()   X-Ref
No description

ReactRoot(container, isAsync, hydrate)   X-Ref
No description

isValidContainer(node)   X-Ref
True if the supplied DOM node is a valid node element.

return: {boolean} True if the DOM is a valid DOM node.
param: {?DOMElement} node The candidate DOM node.

getReactRootElementInContainer(container)   X-Ref
No description

shouldHydrateDueToLegacyHeuristic(container)   X-Ref
No description

legacyCreateRootFromDOMContainer(container, forceHydrate)   X-Ref
No description

legacyRenderSubtreeIntoContainer(parentComponent, children, container, forceHydrate, callback)   X-Ref
No description

createPortal(children, container)   X-Ref
No description



Generated: Mon Jan 7 01:00:05 2019 Cross-referenced by PHPXref 0.7.1