MCPcopy Create free account
hub / github.com/Lobos/react-ui / getDOMSummary

Function getDOMSummary

docs/lib/react.js:9726–9740  ·  view source on GitHub ↗
(measurements)

Source from the content-addressed store, hash-verified

9724}
9725
9726function getDOMSummary(measurements) {
9727 var items = [];
9728 measurements.forEach(function (measurement) {
9729 Object.keys(measurement.writes).forEach(function (id) {
9730 measurement.writes[id].forEach(function (write) {
9731 items.push({
9732 id: id,
9733 type: DOM_OPERATION_TYPES[write.type] || write.type,
9734 args: write.args
9735 });
9736 });
9737 });
9738 });
9739 return items;
9740}
9741
9742function getExclusiveSummary(measurements) {
9743 var candidates = {};

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…