MCPcopy Index your code
hub / github.com/immerjs/immer / makeRootWithGroup

Function makeRootWithGroup

__tests__/patch.js:208–218  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

206 })
207
208 const makeRootWithGroup = groupName => ({
209 id: 0,
210 type: "root",
211 children: [
212 {
213 id: 3,
214 children: [{id: 2, type: "node", value: "A"}],
215 groupName
216 }
217 ]
218 })
219
220 function runNestedPatchScenario() {
221 let nestedPatches = []

Callers 1

patch.jsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…