MCPcopy Create free account
hub / github.com/ccj-007/easy-lowcode / g

Function g

renderer/index.js:984–991  ·  view source on GitHub ↗
(e)

Source from the content-addressed store, hash-verified

982See https://reactjs.org/link/invalid-hook-call for tips about how to debug and fix this problem.`), e;
983 }
984 function g(e) {
985 var r = v();
986 if (e._context !== void 0) {
987 var a = e._context;
988 a.Consumer === e ? l("Calling useContext(Context.Consumer) is not supported, may cause bugs, and will be removed in a future major release. Did you mean to call useContext(Context) instead?") : a.Provider === e && l("Calling useContext(Context.Provider) is not supported. Did you mean to call useContext(Context) instead?");
989 }
990 return r.useContext(e);
991 }
992 function W(e) {
993 var r = v();
994 return r.useState(e);

Callers

nothing calls this directly

Calls 2

vFunction · 0.85
lFunction · 0.70

Tested by

no test coverage detected