MCPcopy Create free account
hub / github.com/reactjs/react-rails / markRef

Function markRef

lib/assets/react-source/development/react.js:20693–20700  ·  view source on GitHub ↗
(current, workInProgress)

Source from the content-addressed store, hash-verified

20691 }
20692
20693 function markRef(current, workInProgress) {
20694 var ref = workInProgress.ref;
20695
20696 if (current === null && ref !== null || current !== null && current.ref !== ref) {
20697 // Schedule a Ref effect
20698 workInProgress.effectTag |= Ref;
20699 }
20700 }
20701
20702 function updateFunctionComponent(current, workInProgress, Component, nextProps, renderExpirationTime) {
20703 {

Callers 2

finishClassComponentFunction · 0.85
updateHostComponentFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected