MCPcopy Create free account
hub / github.com/krasimir/react-in-patterns / track

Function track

code/controlled-uncontrolled/public/app.js:3134–3141  ·  view source on GitHub ↗
(node)

Source from the content-addressed store, hash-verified

3132}
3133
3134function track(node) {
3135 if (getTracker(node)) {
3136 return;
3137 }
3138
3139 // TODO: Once it's just Fiber we can move this to node._wrapperState
3140 node._valueTracker = trackValueOnNode(node);
3141}
3142
3143function updateValueIfChanged(node) {
3144 if (!node) {

Callers 2

setInitialProperties$1Function · 0.70
diffHydratedProperties$1Function · 0.70

Calls 2

getTrackerFunction · 0.70
trackValueOnNodeFunction · 0.70

Tested by

no test coverage detected