[ Index ] |
PHP Cross Reference of WordPress Trunk (Updated Daily) |
[Source view] [Print] [Project Stats]
(no description)
File Size: | 3343 lines (110 kb) |
Included or required: | 0 times |
Referenced: | 0 times |
Includes or requires: | 0 files |
getIteratorFn(maybeIterable) X-Ref |
setExtraStackFrame(stack) X-Ref |
warn(format) X-Ref |
No description |
error(format) X-Ref |
No description |
printWarning(level, format, args) X-Ref |
No description |
warnNoop(publicInstance, callerName) X-Ref |
No description |
Component(props, context, updater) X-Ref |
Base class helpers for the updating state of a component. |
ComponentDummy() X-Ref |
No description |
PureComponent(props, context, updater) X-Ref |
Convenience component with default shallow equality check for sCU. |
createRef() X-Ref |
No description |
isArray(a) X-Ref |
No description |
typeName(value) X-Ref |
No description |
willCoercionThrow(value) X-Ref |
No description |
testStringCoercion(value) X-Ref |
No description |
checkKeyStringCoercion(value) X-Ref |
No description |
getWrappedName(outerType, innerType, wrapperName) X-Ref |
No description |
getContextName(type) X-Ref |
No description |
getComponentNameFromType(type) X-Ref |
No description |
hasValidRef(config) X-Ref |
No description |
hasValidKey(config) X-Ref |
No description |
defineKeyPropWarningGetter(props, displayName) X-Ref |
No description |
defineRefPropWarningGetter(props, displayName) X-Ref |
No description |
warnIfStringRefCannotBeAutoConverted(config) X-Ref |
No description |
createElement(type, config, children) X-Ref |
Create and return a new ReactElement of the given type. See https://reactjs.org/docs/react-api.html#createelement |
cloneAndReplaceKey(oldElement, newKey) X-Ref |
No description |
cloneElement(element, config, children) X-Ref |
Clone and return a new ReactElement using element as the starting point. See https://reactjs.org/docs/react-api.html#cloneelement |
isValidElement(object) X-Ref |
Verifies the object is a ReactElement. See https://reactjs.org/docs/react-api.html#isvalidelement return: {boolean} True if `object` is a ReactElement. param: {?object} object |
escape(key) X-Ref |
Escape and wrap key so it is safe to use as a reactid return: {string} the escaped key. param: {string} key to be escaped. |
escapeUserProvidedKey(text) X-Ref |
No description |
getElementKey(element, index) X-Ref |
Generate a key string that identifies a element within a set. return: {string} param: {*} element A element that could contain a manual key. param: {number} index Index that is used if a manual key is not provided. |
mapIntoArray(children, array, escapedPrefix, nameSoFar, callback) X-Ref |
No description |
mapChildren(children, func, context) X-Ref |
Maps children that are typically specified as `props.children`. See https://reactjs.org/docs/react-api.html#reactchildrenmap The provided mapFunction(child, index) will be called for each leaf child. return: {object} Object containing the ordered map of results. param: {?*} children Children tree container. param: {function(*, int)} func The map function. param: {*} context Context for mapFunction. |
countChildren(children) X-Ref |
Count the number of children that are typically specified as `props.children`. See https://reactjs.org/docs/react-api.html#reactchildrencount return: {number} The number of children. param: {?*} children Children tree container. |
forEachChildren(children, forEachFunc, forEachContext) X-Ref |
Iterates through children that are typically specified as `props.children`. See https://reactjs.org/docs/react-api.html#reactchildrenforeach The provided forEachFunc(child, index) will be called for each leaf child. param: {?*} children Children tree container. param: {function(*, int)} forEachFunc param: {*} forEachContext Context for forEachContext. |
toArray(children) X-Ref |
Flatten a children object (typically specified as `props.children`) and return an array with appropriately re-keyed children. See https://reactjs.org/docs/react-api.html#reactchildrentoarray |
onlyChild(children) X-Ref |
Returns the first child in a collection of children and verifies that there is only one child in the collection. See https://reactjs.org/docs/react-api.html#reactchildrenonly The current implementation of this function assumes that a single child gets passed without a wrapper, but the purpose of this helper function is to abstract away the particular structure of children. return: {ReactElement} The first and only `ReactElement` contained in the param: {?object} children Child collection structure. |
createContext(defaultValue) X-Ref |
No description |
lazyInitializer(payload) X-Ref |
No description |
lazy(ctor) X-Ref |
No description |
forwardRef(render) X-Ref |
No description |
isValidElementType(type) X-Ref |
No description |
memo(type, compare) X-Ref |
No description |
resolveDispatcher() X-Ref |
No description |
useContext(Context) X-Ref |
No description |
useState(initialState) X-Ref |
No description |
useReducer(reducer, initialArg, init) X-Ref |
No description |
useRef(initialValue) X-Ref |
No description |
useEffect(create, deps) X-Ref |
No description |
useInsertionEffect(create, deps) X-Ref |
No description |
useLayoutEffect(create, deps) X-Ref |
No description |
useCallback(callback, deps) X-Ref |
No description |
useMemo(create, deps) X-Ref |
No description |
useImperativeHandle(ref, create, deps) X-Ref |
No description |
useDebugValue(value, formatterFn) X-Ref |
No description |
useTransition() X-Ref |
No description |
useDeferredValue(value) X-Ref |
No description |
useId() X-Ref |
No description |
useSyncExternalStore(subscribe, getSnapshot, getServerSnapshot) 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 |
describeFunctionComponentFrame(fn, source, ownerFn) X-Ref |
No description |
shouldConstruct(Component) X-Ref |
No description |
describeUnknownElementTypeFrameInDEV(type, source, ownerFn) X-Ref |
No description |
setCurrentlyValidatingElement(element) X-Ref |
No description |
checkPropTypes(typeSpecs, values, location, componentName, element) X-Ref |
No description |
setCurrentlyValidatingElement({if (element) X-Ref |
No description |
getDeclarationErrorAddendum() X-Ref |
No description |
getSourceInfoErrorAddendum(source) X-Ref |
No description |
getSourceInfoErrorAddendumForProps(elementProps) X-Ref |
No description |
getCurrentComponentErrorInfo(parentType) X-Ref |
No description |
validateExplicitKey(element, parentType) X-Ref |
Warn if the element doesn't have an explicit key assigned to it. This element is in an array. The array could grow and shrink or be reordered. All children that haven't already been validated are required to have a "key" property assigned to it. Error statuses are cached so a warning will only be shown once. param: {ReactElement} element Element that requires a key. param: {*} parentType element's parent's type. |
validateChildKeys(node, parentType) X-Ref |
Ensure that every element either is passed in a static location, in an array with an explicit keys property defined, or in an object literal with valid key property. param: {ReactNode} node Statically passed child of any type. param: {*} parentType node's parent's type. |
validatePropTypes(element) X-Ref |
Given an element, validate that its props follow the propTypes definition, provided by the type. param: {ReactElement} element |
validateFragmentProps(fragment) X-Ref |
Given a fragment, validate that it can only be provided with fragment props param: {ReactElement} fragment |
createElementWithValidation(type, props, children) X-Ref |
No description |
createFactoryWithValidation(type) X-Ref |
No description |
cloneElementWithValidation(element, props, children) X-Ref |
No description |
push(heap, node) X-Ref |
No description |
peek(heap) X-Ref |
No description |
pop(heap) X-Ref |
No description |
siftUp(heap, node, i) X-Ref |
No description |
siftDown(heap, node, i) X-Ref |
No description |
compare(a, b) X-Ref |
No description |
markTaskErrored(task, ms) X-Ref |
No description |
advanceTimers(currentTime) X-Ref |
No description |
handleTimeout(currentTime) X-Ref |
No description |
flushWork(hasTimeRemaining, initialTime) X-Ref |
No description |
workLoop(hasTimeRemaining, initialTime) X-Ref |
No description |
unstable_runWithPriority(priorityLevel, eventHandler) X-Ref |
No description |
unstable_next(eventHandler) X-Ref |
No description |
unstable_wrapCallback(callback) X-Ref |
No description |
unstable_scheduleCallback(priorityLevel, callback, options) X-Ref |
No description |
unstable_pauseExecution() X-Ref |
No description |
unstable_continueExecution() X-Ref |
No description |
unstable_getFirstCallbackNode() X-Ref |
No description |
unstable_cancelCallback(task) X-Ref |
No description |
unstable_getCurrentPriorityLevel() X-Ref |
No description |
shouldYieldToHost() X-Ref |
No description |
requestPaint() X-Ref |
No description |
forceFrameRate(fps) X-Ref |
No description |
requestHostCallback(callback) X-Ref |
No description |
requestHostTimeout(callback, ms) X-Ref |
No description |
cancelHostTimeout() X-Ref |
No description |
startTransition(scope, options) X-Ref |
No description |
enqueueTask(task) X-Ref |
No description |
act(callback) X-Ref |
No description |
popActScope(prevActScopeDepth) X-Ref |
No description |
recursivelyFlushAsyncActWork(returnValue, resolve, reject) X-Ref |
No description |
flushActQueue(queue) X-Ref |
No description |
Generated : Sat Nov 23 08:20:01 2024 | Cross-referenced by PHPXref |