MCPcopy
hub / github.com/react/react / unhideInstance

Function unhideInstance

packages/react-native-renderer/src/ReactFiberConfigNative.js:579–591  ·  view source on GitHub ↗
(instance: Instance, props: Props)

Source from the content-addressed store, hash-verified

577}
578
579export function unhideInstance(instance: Instance, props: Props): void {
580 const viewConfig = instance.viewConfig;
581 const updatePayload = diff(
582 {...props, style: [props.style, {display: 'none'}]},
583 props,
584 viewConfig.validAttributes,
585 );
586 UIManager.updateView(
587 instance._nativeTag,
588 viewConfig.uiViewClassName,
589 updatePayload,
590 );
591}
592
593export function applyViewTransitionName(
594 instance: Instance,

Callers

nothing calls this directly

Calls 1

diffFunction · 0.90

Tested by

no test coverage detected