MCPcopy Create free account
hub / github.com/QuarkGluonPlasma/react-course-code / newSet

Function newSet

zustand-test/src/App.js:7–10  ·  view source on GitHub ↗
(...args)

Source from the content-addressed store, hash-verified

5 return function(set, get, store) {
6
7 function newSet(...args) {
8 console.log('调用了 set:', get());
9 return set(...args)
10 }
11
12 return func(newSet, get, store)
13 }

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected