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

Function track

code/new-context-api/public/app.js:3171–3178  ·  view source on GitHub ↗
(node)

Source from the content-addressed store, hash-verified

3169}
3170
3171function track(node) {
3172 if (getTracker(node)) {
3173 return;
3174 }
3175
3176 // TODO: Once it's just Fiber we can move this to node._wrapperState
3177 node._valueTracker = trackValueOnNode(node);
3178}
3179
3180function updateValueIfChanged(node) {
3181 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