[ Index ] |
PHP Cross Reference of WordPress |
[Source view] [Print] [Project Stats]
(no description)
File Size: | 26292 lines (940 kb) |
Included or required: | 0 times |
Referenced: | 0 times |
Includes or requires: | 0 files |
warn(format) X-Ref |
No description |
error(format) X-Ref |
No description |
printWarning(level, format, args) X-Ref |
No description |
registerTwoPhaseEvent(registrationName, dependencies) X-Ref |
No description |
registerDirectEvent(registrationName, dependencies) 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, sanitizeURL, removeEmptyString) X-Ref |
No description |
sanitizeURL(url) 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 |
getIteratorFn(maybeIterable) X-Ref |
No description |
disabledLog() X-Ref |
No description |
disableLogs() X-Ref |
No description |
reenableLogs() X-Ref |
No description |
describeBuiltInComponentFrame(name, source, ownerFn) X-Ref |
No description |
describeNativeComponentFrame(fn, construct) X-Ref |
No description |
describeClassComponentFrame(ctor, source, ownerFn) X-Ref |
No description |
describeFunctionComponentFrame(fn, source, ownerFn) X-Ref |
No description |
shouldConstruct(Component) X-Ref |
No description |
describeUnknownElementTypeFrameInDEV(type, source, ownerFn) X-Ref |
No description |
describeFiber(fiber) X-Ref |
No description |
getStackByFiberInDevAndProd(workInProgress) X-Ref |
No description |
getWrappedName(outerType, innerType, wrapperName) X-Ref |
No description |
getContextName(type) X-Ref |
No description |
getComponentName(type) 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 |
setIsRendering(rendering) X-Ref |
No description |
getIsRendering() X-Ref |
No description |
toString(value) X-Ref |
No description |
getToStringValue(value) X-Ref |
No description |
checkControlledValueProps(tagName, props) X-Ref |
No description |
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 |
getActiveElement(doc) X-Ref |
No description |
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 |
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;if (!(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;{checkControlledValueProps('textarea', props) X-Ref |
No description |
updateWrapper(var node = element;var value = getToStringValue(props.value) X-Ref |
No description |
postMountWrapper(var node = elementvar textContent = node.textContentif (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 |
isValueEmpty(value) X-Ref |
No description |
expandShorthandMap(styles) X-Ref |
Given {color: 'red', overflow: 'hidden'} returns { color: 'color', overflowX: 'overflow', overflowY: 'overflow', }. This can be read as "the overflowY property was set by the overflow shorthand". That is, the values are the property that each was derived from. |
validateShorthandPropertyCollisionInDev(styleUpdates, nextStyles) X-Ref |
When mixing shorthand and longhand property names, we warn during updates if we expect an incorrect result to occur. In particular, we warn for: Updating a shorthand property (longhand gets overwritten): {font: 'foo', fontVariant: 'bar'} -> {font: 'baz', fontVariant: 'bar'} becomes .style.font = 'baz' Removing a shorthand property (longhand gets lost too): {font: 'foo', fontVariant: 'bar'} -> {fontVariant: 'bar'} becomes .style.font = '' Removing a longhand property (should revert to shorthand; doesn't): {font: 'foo', fontVariant: 'bar'} -> {font: 'foo'} becomes .style.fontVariant = '' |
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 |
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. |
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 |
finishEventHandler() X-Ref |
No description |
batchedUpdates(fn, bookkeeping) X-Ref |
No description |
batchedEventUpdates(fn, a, b) X-Ref |
No description |
discreteUpdates(fn, a, b, c, d) X-Ref |
No description |
flushDiscreteUpdatesIfNeeded(timeStamp) X-Ref |
No description |
setBatchingImplementation(_batchedUpdatesImpl, _discreteUpdatesImpl, _flushDiscreteUpdatesImpl, _batchedEventUpdatesImpl) X-Ref |
No description |
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`). |
invokeGuardedCallbackProd(name, func, context, a, b, c, d, e, f) X-Ref |
No description |
restoreAfterDispatch() 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 |
get(key) X-Ref |
`ReactInstanceMap` maintains a mapping from a public facing stateful instance (key) and the internal representation (value). This allows public methods to accept the user facing instance as an argument and map them back to internal methods. Note that this module is currently shared and assumed to be stateless. If this becomes an actual Map, that will break. |
has(key) X-Ref |
No description |
set(key, value) X-Ref |
No description |
getNearestMountedFiber(fiber) X-Ref |
No description |
getSuspenseInstanceFromFiber(fiber) X-Ref |
No description |
getContainerFromFiber(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 |
doesFiberContain(parentFiber, childFiber) X-Ref |
No description |
setAttemptUserBlockingHydration(fn) X-Ref |
No description |
setAttemptContinuousHydration(fn) X-Ref |
No description |
setAttemptHydrationAtCurrentPriority(fn) X-Ref |
No description |
setAttemptHydrationAtPriority(fn) X-Ref |
No description |
hasQueuedDiscreteEvents() X-Ref |
No description |
isReplayableDiscreteEvent(eventType) X-Ref |
No description |
createQueuedReplayableEvent(blockedOn, domEventName, eventSystemFlags, targetContainer, nativeEvent) X-Ref |
No description |
queueDiscreteEvent(blockedOn, domEventName, eventSystemFlags, targetContainer, nativeEvent) X-Ref |
No description |
clearIfContinuousEvent(domEventName, nativeEvent) X-Ref |
No description |
accumulateOrCreateContinuousQueuedReplayableEvent(existingQueuedEvent, blockedOn, domEventName, eventSystemFlags, targetContainer, nativeEvent) X-Ref |
No description |
queueIfContinuousEvent(blockedOn, domEventName, eventSystemFlags, targetContainer, nativeEvent) X-Ref |
No description |
attemptExplicitHydrationTarget(queuedTarget) X-Ref |
No description |
attemptReplayContinuousQueuedEvent(queuedEvent) X-Ref |
No description |
attemptReplayContinuousQueuedEventInMap(queuedEvent, key, map) X-Ref |
No description |
replayUnblockedEvents() X-Ref |
No description |
scheduleCallbackIfUnblocked(queuedEvent, unblocked) X-Ref |
No description |
retryIfBlockedOn(unblocked) 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 |
registerSimplePluginEventsAndSetTheirPriorities(eventTypes, priority) X-Ref |
Turns ['abort', ...] into topLevelEventsToReactNames = new Map([ ['abort', 'onAbort'], ]); and registers them. |
setEventPriorities(eventTypes, priority) X-Ref |
No description |
getEventPriorityForPluginSystem(domEventName) X-Ref |
No description |
registerSimpleEvents() X-Ref |
No description |
setCurrentUpdateLanePriority(newLanePriority) X-Ref |
No description |
getHighestPriorityLanes(lanes) X-Ref |
No description |
schedulerPriorityToLanePriority(schedulerPriorityLevel) X-Ref |
No description |
lanePriorityToSchedulerPriority(lanePriority) X-Ref |
No description |
getNextLanes(root, wipLanes) X-Ref |
No description |
getMostRecentEventTime(root, lanes) X-Ref |
No description |
computeExpirationTime(lane, currentTime) X-Ref |
No description |
markStarvedLanesAsExpired(root, currentTime) X-Ref |
No description |
getLanesToRetrySynchronouslyOnError(root) X-Ref |
No description |
returnNextLanesPriority() X-Ref |
No description |
includesNonIdleWork(lanes) X-Ref |
No description |
includesOnlyRetries(lanes) X-Ref |
No description |
includesOnlyTransitions(lanes) X-Ref |
No description |
findUpdateLane(lanePriority, wipLanes) X-Ref |
No description |
findTransitionLane(wipLanes, pendingLanes) X-Ref |
No description |
findRetryLane(wipLanes) X-Ref |
No description |
getHighestPriorityLane(lanes) X-Ref |
No description |
getLowestPriorityLane(lanes) X-Ref |
No description |
getEqualOrHigherPriorityLanes(lanes) X-Ref |
No description |
pickArbitraryLane(lanes) X-Ref |
No description |
pickArbitraryLaneIndex(lanes) X-Ref |
No description |
laneToIndex(lane) X-Ref |
No description |
includesSomeLane(a, b) X-Ref |
No description |
isSubsetOfLanes(set, subset) X-Ref |
No description |
mergeLanes(a, b) X-Ref |
No description |
removeLanes(set, subset) X-Ref |
No description |
laneToLanes(lane) X-Ref |
No description |
higherPriorityLane(a, b) X-Ref |
No description |
createLaneMap(initial) X-Ref |
No description |
markRootUpdated(root, updateLane, eventTime) X-Ref |
No description |
markRootSuspended(root, suspendedLanes) X-Ref |
No description |
markRootPinged(root, pingedLanes, eventTime) X-Ref |
No description |
markDiscreteUpdatesExpired(root) X-Ref |
No description |
hasDiscreteLanes(lanes) X-Ref |
No description |
markRootMutableRead(root, updateLane) X-Ref |
No description |
markRootFinished(root, remainingLanes) X-Ref |
No description |
markRootEntangled(root, entangledLanes) X-Ref |
No description |
clz32Fallback(lanes) X-Ref |
No description |
setEnabled(enabled) X-Ref |
No description |
isEnabled() X-Ref |
No description |
createEventListenerWrapperWithPriority(targetContainer, domEventName, eventSystemFlags) X-Ref |
No description |
dispatchDiscreteEvent(domEventName, eventSystemFlags, container, nativeEvent) X-Ref |
No description |
dispatchUserBlockingUpdate(domEventName, eventSystemFlags, container, nativeEvent) X-Ref |
No description |
dispatchEvent(domEventName, eventSystemFlags, targetContainer, nativeEvent) X-Ref |
No description |
attemptToDispatchEvent(domEventName, eventSystemFlags, targetContainer, nativeEvent) X-Ref |
No description |
addEventBubbleListener(target, eventType, listener) X-Ref |
No description |
addEventCaptureListener(target, eventType, listener) X-Ref |
No description |
addEventCaptureListenerWithPassiveFlag(target, eventType, listener, passive) X-Ref |
No description |
addEventBubbleListenerWithPassiveFlag(target, eventType, listener, passive) 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 |
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. |
functionThatReturnsTrue() X-Ref |
No description |
functionThatReturnsFalse() X-Ref |
No description |
createSyntheticEvent(Interface) X-Ref |
No description |
SyntheticBaseEvent(reactName, reactEventType, 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. |
updateMouseMovementPolyfillState(event) X-Ref |
getEventKey(nativeEvent) X-Ref |
return: {string} Normalized `key` property. param: {object} nativeEvent Native browser event. |
modifierStateGetter(keyArg) X-Ref |
No description |
getEventModifierState(nativeEvent) X-Ref |
No description |
registerEvents() X-Ref |
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(domEventName) X-Ref |
Translate native top level events into event types. |
isFallbackCompositionStart(domEventName, nativeEvent) X-Ref |
Does our fallback best-guess model think this event signifies that composition has begun? |
isFallbackCompositionEnd(domEventName, nativeEvent) X-Ref |
Does our fallback mode think that this event is the end of composition? |
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(dispatchQueue, domEventName, targetInst, nativeEvent, nativeEventTarget) X-Ref |
return: {?object} A SyntheticCompositionEvent. |
getNativeBeforeInputChars(domEventName, nativeEvent) X-Ref |
No description |
getFallbackBeforeInputChars(domEventName, nativeEvent) X-Ref |
For browsers that do not provide the `textInput` event, extract the appropriate string to use for SyntheticInputEvent. |
extractBeforeInputEvent(dispatchQueue, domEventName, targetInst, nativeEvent, nativeEventTarget) X-Ref |
Extract a SyntheticInputEvent for `beforeInput`, based on either native `textInput` or fallback behavior. return: {?object} A SyntheticInputEvent. |
extractEvents(dispatchQueue, domEventName, targetInst, nativeEvent, nativeEventTarget, eventSystemFlags, targetContainer) X-Ref |
Create an `onBeforeInput` event to match http://www.w3.org/TR/2013/WD-DOM-Level-3-Events-20131105/#events-inputevents. This event plugin is based on the native `textInput` event available in Chrome, Safari, Opera, and IE. This event fires after `onKeyPress` and `onCompositionEnd`, but before `onInput`. `beforeInput` is spec'd but not implemented in any browsers, and the `input` event does not provide any useful information about what has actually been added, contrary to the spec. Thus, `textInput` is the best available event to identify the characters that have actually been inserted into the target node. This plugin is also responsible for emitting `composition` events, thus allowing us to share composition fallback code for both `beforeInput` and `composition` event types. |
isTextInputElement(elem) X-Ref |
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". |
registerEvents(registerTwoPhaseEvent('onChange', ['change', 'click', 'focusin', 'focusout', 'input', 'keydown', 'keyup', 'selectionchange']) X-Ref |
No description |
createAndAccumulateChangeEvent(dispatchQueue, inst, nativeEvent, target) X-Ref |
No description |
shouldUseChangeEvent(elem) X-Ref |
SECTION: handle `change` event |
manualDispatchChangeEvent(nativeEvent) X-Ref |
No description |
runEventInBatch(dispatchQueue) X-Ref |
No description |
getInstIfValueChanged(targetInst) X-Ref |
No description |
getTargetInstForChangeEvent(domEventName, 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(domEventName, target, targetInst) X-Ref |
No description |
getTargetInstForInputEventPolyfill(domEventName, targetInst) X-Ref |
No description |
shouldUseClickEvent(elem) X-Ref |
SECTION: handle `click` event |
getTargetInstForClickEvent(domEventName, targetInst) X-Ref |
No description |
getTargetInstForInputOrChangeEvent(domEventName, targetInst) X-Ref |
No description |
handleControlledInputBlur(node) X-Ref |
No description |
extractEvents(var targetNode = targetInst ? getNodeFromInstance(targetInst) X-Ref |
This plugin creates an `onChange` event that normalizes change events across form elements. This event fires at a time when it's possible to change the element's value without seeing a flicker. Supported elements are: - input (see `isTextInputElement`) - textarea - select |
registerEvents(registerDirectEvent('onMouseEnter', ['mouseout', 'mouseover']) X-Ref |
No description |
extractEvents(var isOverEvent = domEventName === 'mouseover' || domEventName === 'pointerover';var isOutEvent = domEventName === 'mouseout' || domEventName === 'pointerout';if (isOverEvent && (eventSystemFlags & IS_REPLAYED) X-Ref |
For almost every interaction we care about, there will be both a top-level `mouseover` and `mouseout` event that occurs. Only use `mouseout` so that we do not extract duplicate events. However, moving the mouse into the browser from outside will not fire a `mouseout` event. In this case, we use the `mouseover` top-level event. |
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. |
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 |
isSameOriginFrame(iframe) X-Ref |
No description |
getActiveElementDeep() X-Ref |
No description |
hasSelectionCapabilities(elem) X-Ref |
getSelectionInformation() X-Ref |
No description |
restoreSelection(priorSelectionInformation) X-Ref |
getSelection(input) X-Ref |
setSelection(input, offsets) X-Ref |
registerEvents(registerTwoPhaseEvent('onSelect', ['focusout', 'contextmenu', 'dragend', 'focusin', 'keydown', 'keyup', 'mousedown', 'mouseup', 'selectionchange']) X-Ref |
No description |
getSelection(if ('selectionStart' in node && hasSelectionCapabilities(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. |
getEventTargetDocument(eventTarget) X-Ref |
Get document associated with the event target. |
constructSelectEvent(dispatchQueue, nativeEvent, nativeEventTarget) X-Ref |
Poll selection to see whether it's changed. return: {?SyntheticEvent} param: {object} nativeEvent param: {object} nativeEventTarget |
extractEvents(var targetNode = targetInst ? getNodeFromInstance(targetInst) X-Ref |
This plugin creates an `onSelect` event that normalizes select events across form elements. Supported elements are: - input (see `isTextInputElement`) - textarea - contentEditable This differs from native browser implementations in the following ways: - Fires on contentEditable fields as well as inputs. - Fires for collapsed selection. - Fires after user input. |
extractEvents(var reactName = topLevelEventsToReactNames.get(domEventName) X-Ref |
No description |
extractEvents(extractEvents$4(dispatchQueue, domEventName, targetInst, nativeEvent, nativeEventTarget, eventSystemFlags) X-Ref |
No description |
executeDispatch(event, listener, currentTarget) X-Ref |
No description |
processDispatchQueueItemsInOrder(event, dispatchListeners, inCapturePhase) X-Ref |
No description |
processDispatchQueue(dispatchQueue, eventSystemFlags) X-Ref |
No description |
dispatchEventsForPlugins(domEventName, eventSystemFlags, nativeEvent, targetInst, targetContainer) X-Ref |
No description |
listenToNonDelegatedEvent(domEventName, targetElement) X-Ref |
No description |
listenToAllSupportedEvents(rootContainerElement) X-Ref |
No description |
listenToNativeEvent(domEventName, isCapturePhaseListener, rootContainerElement, targetElement) X-Ref |
No description |
addTrappedEventListener(targetContainer, domEventName, eventSystemFlags, isCapturePhaseListener, isDeferredListenerForLegacyFBSupport) X-Ref |
No description |
isMatchingRootContainer(grandContainer, targetContainer) X-Ref |
No description |
dispatchEventForPluginEventSystem(domEventName, eventSystemFlags, nativeEvent, targetInst, targetContainer) X-Ref |
No description |
createDispatchListener(instance, listener, currentTarget) X-Ref |
No description |
accumulateSinglePhaseListeners(targetFiber, reactName, nativeEventType, inCapturePhase, accumulateTargetOnly) X-Ref |
No description |
accumulateTwoPhaseListeners(targetFiber, reactName) 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. |
accumulateEnterLeaveListenersForEvent(dispatchQueue, event, target, common, inCapturePhase) X-Ref |
No description |
accumulateEnterLeaveTwoPhaseListeners(dispatchQueue, leaveEvent, enterEvent, from, to) X-Ref |
No description |
getListenerSetKey(domEventName, capture) 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 |
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 |
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 |
hideInstance(instance) X-Ref |
No description |
hideTextInstance(textInstance) X-Ref |
No description |
unhideInstance(instance, props) X-Ref |
No description |
unhideTextInstance(textInstance, text) X-Ref |
No description |
clearContainer(container) X-Ref |
No description |
canHydrateInstance(instance, type, props) X-Ref |
No description |
canHydrateTextInstance(instance, text) X-Ref |
No description |
isSuspenseInstancePending(instance) X-Ref |
No description |
isSuspenseInstanceFallback(instance) X-Ref |
No description |
getNextHydratable(node) 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 |
getNextHydratableInstanceAfterSuspenseInstance(suspenseInstance) X-Ref |
No description |
getParentSuspenseInstance(targetInstance) X-Ref |
No description |
commitHydratedContainer(container) X-Ref |
No description |
commitHydratedSuspenseInstance(suspenseInstance) 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 |
didNotFindHydratableSuspenseInstance(parentType, parentProps, parentInstance) X-Ref |
No description |
makeClientIdInDEV(warnOnAccessInDEV) X-Ref |
No description |
isOpaqueHydratingObject(value) X-Ref |
No description |
makeOpaqueHydratingObject(attemptToReadValue) X-Ref |
No description |
preparePortalMount(portalInstance) X-Ref |
No description |
precacheFiberNode(hostInst, node) X-Ref |
No description |
markContainerAsRoot(hostRoot, node) X-Ref |
No description |
unmarkContainerAsRoot(node) X-Ref |
No description |
isContainerMarkedAsRoot(node) X-Ref |
No description |
getClosestInstanceFromNode(targetNode) X-Ref |
No description |
getInstanceFromNode(node) X-Ref |
Given a DOM node, return the ReactDOMComponent or ReactDOMTextComponent instance, or null if the node was not rendered by this React. |
getNodeFromInstance(inst) X-Ref |
Given a ReactDOMComponent or ReactDOMTextComponent, return the corresponding DOM node. |
getFiberCurrentPropsFromNode(node) X-Ref |
No description |
updateFiberProps(node, props) X-Ref |
No description |
getEventListenerSet(node) X-Ref |
No description |
setCurrentlyValidatingElement(element) X-Ref |
No description |
checkPropTypes(typeSpecs, values, location, componentName, element) 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 |
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 |
injectInternals(internals) X-Ref |
No description |
onScheduleRoot(root, children) X-Ref |
No description |
onCommitRoot(root, priorityLevel) X-Ref |
No description |
onCommitUnmount(fiber) X-Ref |
No description |
getCurrentPriorityLevel() X-Ref |
No description |
reactPriorityToSchedulerPriority(reactPriorityLevel) X-Ref |
No description |
runWithPriority(var priorityLevel = reactPriorityToSchedulerPriority(reactPriorityLevel) X-Ref |
No description |
scheduleCallback(reactPriorityLevel, callback, options) X-Ref |
No description |
scheduleSyncCallback(callback) X-Ref |
No description |
cancelCallback(callbackNode) X-Ref |
No description |
flushSyncCallbackQueue() X-Ref |
No description |
flushSyncCallbackQueueImpl() X-Ref |
No description |
requestCurrentTransition() X-Ref |
No description |
resolveDefaultProps(Component, baseProps) X-Ref |
No description |
resetContextDependencies() X-Ref |
No description |
enterDisallowedContextReadInDEV() X-Ref |
No description |
exitDisallowedContextReadInDEV() 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 |
scheduleWorkOnParentPath(parent, renderLanes) X-Ref |
No description |
propagateContextChange(workInProgress, context, changedBits, renderLanes) X-Ref |
No description |
prepareToReadContext(workInProgress, renderLanes) X-Ref |
No description |
readContext(context, observedBits) X-Ref |
No description |
initializeUpdateQueue(fiber) X-Ref |
No description |
cloneUpdateQueue(current, workInProgress) X-Ref |
No description |
createUpdate(eventTime, lane) X-Ref |
No description |
enqueueUpdate(fiber, update) X-Ref |
No description |
enqueueCapturedUpdate(workInProgress, capturedUpdate) X-Ref |
No description |
getStateFromUpdate(workInProgress, queue, update, prevState, nextProps, instance) X-Ref |
No description |
processUpdateQueue(workInProgress, props, instance, renderLanes) 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) X-Ref |
No description |
applyDerivedStateFromProps(workInProgress, ctor, getDerivedStateFromProps, nextProps) X-Ref |
No description |
checkShouldComponentUpdate(workInProgress, ctor, oldProps, newProps, oldState, newState, nextContext) X-Ref |
No description |
checkClassInstance(workInProgress, ctor, newProps) X-Ref |
No description |
adoptClassInstance(workInProgress, instance) X-Ref |
No description |
constructClassInstance(workInProgress, ctor, props) X-Ref |
No description |
callComponentWillMount(workInProgress, instance) X-Ref |
No description |
callComponentWillReceiveProps(workInProgress, instance, newProps, nextContext) X-Ref |
No description |
mountClassInstance(workInProgress, ctor, newProps, renderLanes) X-Ref |
No description |
resumeMountClassInstance(workInProgress, ctor, newProps, renderLanes) X-Ref |
No description |
updateClassInstance(current, workInProgress, ctor, newProps, renderLanes) X-Ref |
No description |
coerceRef(returnFiber, current, element) X-Ref |
No description |
throwOnInvalidObjectType(returnFiber, newChild) X-Ref |
No description |
warnOnFunctionType(returnFiber) 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) X-Ref |
No description |
placeChild(newFiber, lastPlacedIndex, newIndex) X-Ref |
No description |
placeSingleChild(newFiber) X-Ref |
No description |
updateTextNode(returnFiber, current, textContent, lanes) X-Ref |
No description |
updateElement(returnFiber, current, element, lanes) X-Ref |
No description |
updatePortal(returnFiber, current, portal, lanes) X-Ref |
No description |
updateFragment(returnFiber, current, fragment, lanes, key) X-Ref |
No description |
createChild(returnFiber, newChild, lanes) X-Ref |
No description |
updateSlot(returnFiber, oldFiber, newChild, lanes) X-Ref |
No description |
updateFromMap(existingChildren, returnFiber, newIdx, newChild, lanes) X-Ref |
No description |
warnOnInvalidKey(child, knownKeys, returnFiber) X-Ref |
Warns if there is a duplicate or missing key |
reconcileChildrenArray(returnFiber, currentFirstChild, newChildren, lanes) X-Ref |
No description |
reconcileChildrenIterator(returnFiber, currentFirstChild, newChildrenIterable, lanes) X-Ref |
No description |
reconcileSingleTextNode(returnFiber, currentFirstChild, textContent, lanes) X-Ref |
No description |
reconcileSingleElement(returnFiber, currentFirstChild, element, lanes) X-Ref |
No description |
reconcileSinglePortal(returnFiber, currentFirstChild, portal, lanes) X-Ref |
No description |
reconcileChildFibers(returnFiber, currentFirstChild, newChild, lanes) X-Ref |
No description |
cloneChildFibers(current, workInProgress) X-Ref |
No description |
resetChildFibers(workInProgress, lanes) 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 |
hasSuspenseContext(parentContext, flag) X-Ref |
No description |
setDefaultShallowSuspenseContext(parentContext) X-Ref |
No description |
setShallowSuspenseContext(parentContext, shallowContext) X-Ref |
No description |
addSubtreeSuspenseContext(parentContext, subtreeContext) X-Ref |
No description |
pushSuspenseContext(fiber, newContext) X-Ref |
No description |
popSuspenseContext(fiber) X-Ref |
No description |
shouldCaptureSuspense(workInProgress, hasInvisibleParent) X-Ref |
No description |
findFirstSuspended(row) 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 |
skipPastDehydratedSuspenseInstance(fiber) X-Ref |
No description |
popToNextHostParent(fiber) X-Ref |
No description |
popHydrationState(fiber) X-Ref |
No description |
resetHydrationState() X-Ref |
No description |
getIsHydrating() X-Ref |
No description |
markSourceAsDirty(mutableSource) X-Ref |
No description |
resetWorkInProgressVersions() X-Ref |
No description |
getWorkInProgressVersion(mutableSource) X-Ref |
No description |
setWorkInProgressVersion(mutableSource, version) X-Ref |
No description |
warnAboutMultipleRenderersDEV(mutableSource) X-Ref |
No description |
mountHookTypesDev() X-Ref |
No description |
updateHookTypesDev() X-Ref |
No description |
checkDepsAreArrayDev(deps) X-Ref |
No description |
warnOnHookMismatchInDev(currentHookName) X-Ref |
No description |
throwInvalidHookError() X-Ref |
No description |
areHookInputsEqual(nextDeps, prevDeps) X-Ref |
No description |
renderWithHooks(current, workInProgress, Component, props, secondArg, nextRenderLanes) X-Ref |
No description |
bailoutHooks(current, workInProgress, lanes) X-Ref |
No description |
resetHooksAfterThrow() X-Ref |
No description |
mountWorkInProgressHook() X-Ref |
No description |
updateWorkInProgressHook() X-Ref |
No description |
createFunctionComponentUpdateQueue() X-Ref |
No description |
basicStateReducer(state, action) X-Ref |
No description |
mountReducer(reducer, initialArg, init) X-Ref |
No description |
updateReducer(reducer, initialArg, init) X-Ref |
No description |
rerenderReducer(reducer, initialArg, init) X-Ref |
No description |
readFromUnsubcribedMutableSource(root, source, getSnapshot) X-Ref |
No description |
useMutableSource(hook, source, getSnapshot, subscribe) X-Ref |
No description |
mountMutableSource(source, getSnapshot, subscribe) X-Ref |
No description |
updateMutableSource(source, getSnapshot, subscribe) X-Ref |
No description |
mountState(initialState) X-Ref |
No description |
updateState(initialState) X-Ref |
No description |
rerenderState(initialState) X-Ref |
No description |
pushEffect(tag, create, destroy, deps) X-Ref |
No description |
mountRef(initialValue) X-Ref |
No description |
updateRef(initialValue) X-Ref |
No description |
mountEffectImpl(fiberFlags, hookFlags, create, deps) X-Ref |
No description |
updateEffectImpl(fiberFlags, hookFlags, create, deps) X-Ref |
No description |
mountEffect(create, deps) X-Ref |
No description |
updateEffect(create, deps) X-Ref |
No description |
mountLayoutEffect(create, deps) X-Ref |
No description |
updateLayoutEffect(create, deps) X-Ref |
No description |
imperativeHandleEffect(create, ref) X-Ref |
No description |
mountImperativeHandle(ref, create, deps) X-Ref |
No description |
updateImperativeHandle(ref, create, deps) X-Ref |
No description |
mountDebugValue(value, formatterFn) X-Ref |
No description |
mountCallback(callback, deps) X-Ref |
No description |
updateCallback(callback, deps) X-Ref |
No description |
mountMemo(nextCreate, deps) X-Ref |
No description |
updateMemo(nextCreate, deps) X-Ref |
No description |
mountDeferredValue(value) X-Ref |
No description |
updateDeferredValue(value) X-Ref |
No description |
rerenderDeferredValue(value) X-Ref |
No description |
startTransition(setPending, callback) X-Ref |
No description |
mountTransition() X-Ref |
No description |
updateTransition() X-Ref |
No description |
rerenderTransition() X-Ref |
No description |
getIsUpdatingOpaqueValueInRenderPhaseInDEV() X-Ref |
No description |
warnOnOpaqueIdentifierAccessInDEV(fiber) X-Ref |
No description |
mountOpaqueIdentifier() X-Ref |
No description |
updateOpaqueIdentifier() X-Ref |
No description |
rerenderOpaqueIdentifier() X-Ref |
No description |
dispatchAction(fiber, queue, action) 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 |
transferActualDuration(fiber) X-Ref |
No description |
reconcileChildren(current, workInProgress, nextChildren, renderLanes) X-Ref |
No description |
forceUnmountCurrentAndReconcile(current, workInProgress, nextChildren, renderLanes) X-Ref |
No description |
updateForwardRef(current, workInProgress, Component, nextProps, renderLanes) X-Ref |
No description |
updateMemoComponent(current, workInProgress, Component, nextProps, updateLanes, renderLanes) X-Ref |
No description |
updateSimpleMemoComponent(current, workInProgress, Component, nextProps, updateLanes, renderLanes) X-Ref |
No description |
updateOffscreenComponent(current, workInProgress, renderLanes) X-Ref |
No description |
updateFragment(current, workInProgress, renderLanes) X-Ref |
No description |
updateMode(current, workInProgress, renderLanes) X-Ref |
No description |
updateProfiler(current, workInProgress, renderLanes) X-Ref |
No description |
markRef(current, workInProgress) X-Ref |
No description |
updateFunctionComponent(current, workInProgress, Component, nextProps, renderLanes) X-Ref |
No description |
updateClassComponent(current, workInProgress, Component, nextProps, renderLanes) X-Ref |
No description |
finishClassComponent(current, workInProgress, Component, shouldUpdate, hasContext, renderLanes) X-Ref |
No description |
pushHostRootContext(workInProgress) X-Ref |
No description |
updateHostRoot(current, workInProgress, renderLanes) X-Ref |
No description |
updateHostComponent(current, workInProgress, renderLanes) X-Ref |
No description |
updateHostText(current, workInProgress) X-Ref |
No description |
mountLazyComponent(_current, workInProgress, elementType, updateLanes, renderLanes) X-Ref |
No description |
mountIncompleteClassComponent(_current, workInProgress, Component, nextProps, renderLanes) X-Ref |
No description |
mountIndeterminateComponent(_current, workInProgress, Component, renderLanes) X-Ref |
No description |
validateFunctionComponentInDev(workInProgress, Component) X-Ref |
No description |
mountSuspenseOffscreenState(renderLanes) X-Ref |
No description |
updateSuspenseOffscreenState(prevOffscreenState, renderLanes) X-Ref |
No description |
shouldRemainOnFallback(suspenseContext, current, workInProgress, renderLanes) X-Ref |
No description |
getRemainingWorkInPrimaryTree(current, renderLanes) X-Ref |
No description |
updateSuspenseComponent(current, workInProgress, renderLanes) X-Ref |
No description |
mountSuspensePrimaryChildren(workInProgress, primaryChildren, renderLanes) X-Ref |
No description |
mountSuspenseFallbackChildren(workInProgress, primaryChildren, fallbackChildren, renderLanes) X-Ref |
No description |
createWorkInProgressOffscreenFiber(current, offscreenProps) X-Ref |
No description |
updateSuspensePrimaryChildren(current, workInProgress, primaryChildren, renderLanes) X-Ref |
No description |
updateSuspenseFallbackChildren(current, workInProgress, primaryChildren, fallbackChildren, renderLanes) X-Ref |
No description |
scheduleWorkOnFiber(fiber, renderLanes) X-Ref |
No description |
propagateSuspenseContextChange(workInProgress, firstChild, renderLanes) X-Ref |
No description |
findLastContentRow(firstChild) X-Ref |
No description |
validateRevealOrder(revealOrder) X-Ref |
No description |
validateTailOptions(tailMode, revealOrder) X-Ref |
No description |
validateSuspenseListNestedChild(childSlot, index) X-Ref |
No description |
validateSuspenseListChildren(children, revealOrder) X-Ref |
No description |
initSuspenseListRenderState(workInProgress, isBackwards, tail, lastContentRow, tailMode, lastEffectBeforeRendering) X-Ref |
No description |
updateSuspenseListComponent(current, workInProgress, renderLanes) X-Ref |
No description |
updatePortalComponent(current, workInProgress, renderLanes) X-Ref |
No description |
updateContextProvider(current, workInProgress, renderLanes) X-Ref |
No description |
updateContextConsumer(current, workInProgress, renderLanes) X-Ref |
No description |
markWorkInProgressReceivedUpdate() X-Ref |
No description |
bailoutOnAlreadyFinishedWork(current, workInProgress, renderLanes) X-Ref |
No description |
remountFiber(current, oldWorkInProgress, newWorkInProgress) X-Ref |
No description |
beginWork(current, workInProgress, renderLanes) X-Ref |
No description |
markUpdate(workInProgress) X-Ref |
No description |
markRef(workInProgress.flags |= Ref;}var appendAllChildren;var updateHostContainer;var updateHostComponent$1;var updateHostText$1;{appendAllChildren = function (parent, workInProgress, needsVisibilityToggle, isHidden) X-Ref |
No description |
cutOffTailIfNeeded(renderState, hasRenderedATailFallback) X-Ref |
No description |
completeWork(current, workInProgress, renderLanes) X-Ref |
No description |
unwindWork(workInProgress, renderLanes) X-Ref |
No description |
unwindInterruptedWork(interruptedWork) X-Ref |
No description |
createCapturedValue(value, source) X-Ref |
No description |
showErrorDialog(boundary, errorInfo) X-Ref |
No description |
logCapturedError(boundary, errorInfo) X-Ref |
No description |
createRootErrorUpdate(fiber, errorInfo, lane) X-Ref |
No description |
createClassErrorUpdate(fiber, errorInfo, lane) X-Ref |
No description |
attachPingListener(root, wakeable, lanes) X-Ref |
No description |
throwException(root, returnFiber, sourceFiber, value, rootRenderLanes) X-Ref |
No description |
safelyCallComponentWillUnmount(current, instance) X-Ref |
No description |
safelyDetachRef(current) X-Ref |
No description |
safelyCallDestroy(current, destroy) X-Ref |
No description |
commitBeforeMutationLifeCycles(current, finishedWork) X-Ref |
No description |
commitHookEffectListUnmount(tag, finishedWork) X-Ref |
No description |
commitHookEffectListMount(tag, finishedWork) X-Ref |
No description |
schedulePassiveEffects(finishedWork) X-Ref |
No description |
commitLifeCycles(finishedRoot, current, finishedWork, committedLanes) X-Ref |
No description |
hideOrUnhideAllChildren(finishedWork, isHidden) X-Ref |
No description |
commitAttachRef(finishedWork) X-Ref |
No description |
commitDetachRef(current) X-Ref |
No description |
commitUnmount(finishedRoot, current, renderPriorityLevel) X-Ref |
No description |
commitNestedUnmounts(finishedRoot, root, renderPriorityLevel) X-Ref |
No description |
detachFiberMutation(fiber) 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 |
insertOrAppendPlacementNodeIntoContainer(node, before, parent) X-Ref |
No description |
insertOrAppendPlacementNode(node, before, parent) X-Ref |
No description |
unmountHostComponents(finishedRoot, current, renderPriorityLevel) X-Ref |
No description |
commitDeletion(finishedRoot, current, renderPriorityLevel) X-Ref |
No description |
commitWork(current, finishedWork) X-Ref |
No description |
commitSuspenseComponent(finishedWork) X-Ref |
No description |
commitSuspenseHydrationCallbacks(finishedRoot, finishedWork) X-Ref |
No description |
attachSuspenseRetryListeners(finishedWork) X-Ref |
No description |
isSuspenseBoundaryBeingHidden(current, finishedWork) X-Ref |
No description |
commitResetTextContent(current) X-Ref |
No description |
onCommitRoot({commitHooks.forEach(function (commitHook) X-Ref |
No description |
resetRenderTimer() X-Ref |
No description |
getRenderTargetTime() X-Ref |
No description |
getWorkInProgressRoot() X-Ref |
No description |
requestEventTime() X-Ref |
No description |
requestUpdateLane(fiber) X-Ref |
No description |
requestRetryLane(fiber) X-Ref |
No description |
scheduleUpdateOnFiber(fiber, lane, eventTime) X-Ref |
No description |
markUpdateLaneFromFiberToRoot(sourceFiber, lane) X-Ref |
No description |
ensureRootIsScheduled(root, currentTime) X-Ref |
No description |
performConcurrentWorkOnRoot(root) X-Ref |
No description |
finishConcurrentRender(root, exitStatus, lanes) X-Ref |
No description |
markRootSuspended(suspendedLanes = removeLanes(suspendedLanes, workInProgressRootPingedLanes) X-Ref |
No description |
performSyncWorkOnRoot(root) X-Ref |
No description |
flushDiscreteUpdates() X-Ref |
No description |
flushPendingDiscreteUpdates() X-Ref |
No description |
batchedUpdates(var prevExecutionContext = executionContext;executionContext |= BatchedContext;try {return fn(a) X-Ref |
No description |
batchedEventUpdates(var prevExecutionContext = executionContext;executionContext |= EventContext;try {return fn(a) X-Ref |
No description |
discreteUpdates(var prevExecutionContext = executionContext;executionContext |= DiscreteEventContext;{try {return runWithPriority$1(UserBlockingPriority$2, fn.bind(null, a, b, c, d) X-Ref |
No description |
unbatchedUpdates(fn, a) X-Ref |
No description |
flushSync(fn, a) X-Ref |
No description |
pushRenderLanes(fiber, lanes) X-Ref |
No description |
popRenderLanes(fiber) X-Ref |
No description |
prepareFreshStack(root, lanes) X-Ref |
No description |
handleError(root, thrownValue) X-Ref |
No description |
pushDispatcher() X-Ref |
No description |
popDispatcher(prevDispatcher) X-Ref |
No description |
pushInteractions(root) X-Ref |
No description |
popInteractions(prevInteractions) X-Ref |
No description |
markCommitTimeOfFallback() X-Ref |
No description |
markSkippedUpdateLanes(lane) X-Ref |
No description |
renderDidSuspend() X-Ref |
No description |
renderDidSuspendDelayIfPossible() X-Ref |
No description |
renderDidError() X-Ref |
No description |
renderHasNotSuspendedYet() X-Ref |
No description |
renderRootSync(root, lanes) X-Ref |
No description |
workLoopSync() X-Ref |
No description |
renderRootConcurrent(root, lanes) X-Ref |
No description |
workLoopConcurrent() X-Ref |
No description |
performUnitOfWork(unitOfWork) X-Ref |
No description |
completeUnitOfWork(unitOfWork) X-Ref |
No description |
resetChildLanes(completedWork) X-Ref |
No description |
commitRoot(root) X-Ref |
No description |
commitRootImpl(root, renderPriorityLevel) X-Ref |
No description |
commitBeforeMutationEffects() X-Ref |
No description |
commitMutationEffects(root, renderPriorityLevel) X-Ref |
No description |
commitLayoutEffects(root, committedLanes) X-Ref |
No description |
flushPassiveEffects() X-Ref |
No description |
enqueuePendingPassiveHookEffectMount(fiber, effect) X-Ref |
No description |
enqueuePendingPassiveHookEffectUnmount(fiber, effect) X-Ref |
No description |
invokePassiveEffectCreate(effect) X-Ref |
No description |
flushPassiveEffectsImpl() X-Ref |
No description |
isAlreadyFailedLegacyErrorBoundary(instance) X-Ref |
No description |
markLegacyErrorBoundaryAsFailed(instance) X-Ref |
No description |
prepareToThrowUncaughtError(error) X-Ref |
No description |
captureCommitPhaseErrorOnRoot(rootFiber, sourceFiber, error) X-Ref |
No description |
captureCommitPhaseError(sourceFiber, error) X-Ref |
No description |
pingSuspendedRoot(root, wakeable, pingedLanes) X-Ref |
No description |
retryTimedOutBoundary(boundaryFiber, retryLane) X-Ref |
No description |
resolveRetryWakeable(boundaryFiber, wakeable) X-Ref |
No description |
jnd(timeElapsed) X-Ref |
No description |
checkForNestedUpdates() X-Ref |
No description |
flushRenderPhaseStrictModeWarningsInDEV() X-Ref |
No description |
warnAboutUpdateOnNotYetMountedFiberInDEV(fiber) X-Ref |
No description |
warnAboutUpdateOnUnmountedFiberInDEV(fiber) X-Ref |
No description |
warnAboutRenderPhaseUpdatesInDEV(fiber) X-Ref |
No description |
warnIfNotScopedWithMatchingAct(fiber) X-Ref |
No description |
warnIfNotCurrentlyActingEffectsInDEV(fiber) X-Ref |
No description |
warnIfNotCurrentlyActingUpdatesInDEV(fiber) X-Ref |
No description |
warnIfUnmockedScheduler(fiber) X-Ref |
No description |
computeThreadID(root, lane) X-Ref |
No description |
markSpawnedWork(lane) X-Ref |
No description |
scheduleInteractions(root, lane, interactions) X-Ref |
No description |
schedulePendingInteractions(root, lane) X-Ref |
No description |
startWorkOnPendingInteractions(root, lanes) X-Ref |
No description |
finishPendingInteractions(root, committedLanes) X-Ref |
No description |
shouldForceFlushFallbacksInDEV() X-Ref |
No description |
detachFiberAfterEffects(fiber) X-Ref |
No description |
resolveFunctionForHotReloading(type) X-Ref |
No description |
resolveClassForHotReloading(type) X-Ref |
No description |
resolveForwardRefForHotReloading(type) X-Ref |
No description |
isCompatibleFamilyForHotReloading(fiber, element) X-Ref |
No description |
markFailedErrorBoundaryForHotReloading(fiber) X-Ref |
No description |
scheduleFibersWithFamiliesRecursively(fiber, updatedFamilies, staleFamilies) X-Ref |
No description |
findHostInstancesForMatchingFibersRecursively(fiber, types, hostInstances) X-Ref |
No description |
findHostInstancesForFiberShallowly(fiber, hostInstances) X-Ref |
No description |
findChildHostInstancesForFiberShallowly(fiber, hostInstances) X-Ref |
No description |
FiberNode(tag, pendingProps, key, mode) X-Ref |
No description |
shouldConstruct(var prototype = Component.prototype;return !!(prototype && prototype.isReactComponent) X-Ref |
No description |
isSimpleFunctionComponent(type) X-Ref |
No description |
resolveLazyComponentTag(Component) X-Ref |
No description |
createWorkInProgress(current, pendingProps) X-Ref |
No description |
resetWorkInProgress(workInProgress, renderLanes) X-Ref |
No description |
createHostRootFiber(tag) X-Ref |
No description |
createFiberFromTypeAndProps(type, key, pendingProps, owner, mode, lanes) X-Ref |
No description |
createFiberFromElement(element, mode, lanes) X-Ref |
No description |
createFiberFromFragment(elements, mode, lanes, key) X-Ref |
No description |
createFiberFromProfiler(pendingProps, mode, lanes, key) X-Ref |
No description |
createFiberFromSuspense(pendingProps, mode, lanes, key) X-Ref |
No description |
createFiberFromSuspenseList(pendingProps, mode, lanes, key) X-Ref |
No description |
createFiberFromOffscreen(pendingProps, mode, lanes, key) X-Ref |
No description |
createFiberFromLegacyHidden(pendingProps, mode, lanes, key) X-Ref |
No description |
createFiberFromText(content, mode, lanes) X-Ref |
No description |
createFiberFromHostInstanceForDeletion() X-Ref |
No description |
createFiberFromPortal(portal, mode, lanes) X-Ref |
No description |
assignFiberPropertiesInDEV(target, source) X-Ref |
No description |
FiberRootNode(containerInfo, tag, hydrate) X-Ref |
No description |
createFiberRoot(containerInfo, tag, hydrate, hydrationCallbacks) X-Ref |
No description |
registerMutableSourceForHydration(root, mutableSource) X-Ref |
No description |
createPortal(children, containerInfo, implementation) X-Ref |
No description |
getContextForSubtree(parentComponent) X-Ref |
No description |
findHostInstanceWithWarning(component, methodName) X-Ref |
No description |
createContainer(containerInfo, tag, hydrate, hydrationCallbacks) X-Ref |
No description |
updateContainer(element, container, parentComponent, callback) X-Ref |
No description |
getPublicRootInstance(container) X-Ref |
No description |
markRetryLaneImpl(fiber, retryLane) X-Ref |
No description |
markRetryLaneIfNotHydrated(fiber, retryLane) X-Ref |
No description |
attemptUserBlockingHydration(if (fiber.tag !== SuspenseComponent) X-Ref |
No description |
attemptContinuousHydration(if (fiber.tag !== SuspenseComponent) X-Ref |
No description |
attemptHydrationAtCurrentPriority(if (fiber.tag !== SuspenseComponent) X-Ref |
No description |
runWithPriority(try {setCurrentUpdateLanePriority(priority) X-Ref |
No description |
findHostInstanceWithNoPortals(fiber) X-Ref |
No description |
shouldSuspend(fiber) X-Ref |
No description |
findHostInstanceByFiber(fiber) X-Ref |
No description |
emptyFindFiberByHostInstance(instance) X-Ref |
No description |
getCurrentFiberForDevTools() X-Ref |
No description |
injectIntoDevTools(devToolsConfig) X-Ref |
No description |
ReactDOMRoot(container, options) X-Ref |
No description |
ReactDOMBlockingRoot(container, tag, options) X-Ref |
No description |
createRootImpl(container, tag, options) X-Ref |
No description |
createLegacyRoot(container, options) X-Ref |
No description |
isValidContainer(node) X-Ref |
No description |
getReactRootElementInContainer(container) X-Ref |
No description |
shouldHydrateDueToLegacyHeuristic(container) X-Ref |
No description |
legacyCreateRootFromDOMContainer(container, forceHydrate) X-Ref |
No description |
warnOnInvalidCallback({if (callback !== null && typeof callback !== 'function') X-Ref |
No description |
legacyRenderSubtreeIntoContainer(parentComponent, children, container, forceHydrate, callback) X-Ref |
No description |
findDOMNode(componentOrElement) X-Ref |
No description |
hydrate(element, container, callback) X-Ref |
No description |
render(element, container, callback) X-Ref |
No description |
unstable_renderSubtreeIntoContainer(parentComponent, element, containerNode, callback) X-Ref |
No description |
unmountComponentAtNode(container) X-Ref |
No description |
createPortal(var key = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : null;if (!isValidContainer(container) X-Ref |
No description |
renderSubtreeIntoContainer(parentComponent, element, containerNode, callback) X-Ref |
No description |
unstable_createPortal(children, container) X-Ref |
No description |
Generated: Thu Nov 21 01:00:03 2024 | Cross-referenced by PHPXref 0.7.1 |