MCPcopy
hub / github.com/mobxjs/mobx / warnAboutProxyRequirement

Function warnAboutProxyRequirement

packages/mobx/src/utils/utils.ts:33–40  ·  view source on GitHub ↗
(msg: string)

Source from the content-addressed store, hash-verified

31}
32
33export function warnAboutProxyRequirement(msg: string) {
34 if (__DEV__ && globalState.verifyProxies) {
35 die(
36 "MobX is currently configured to be able to run in ES5 mode, but in ES5 MobX won't be able to " +
37 msg
38 )
39 }
40}
41
42export function getNextId() {
43 return ++globalState.mobxGuid

Callers 5

hasFunction · 0.85
setFunction · 0.85
deletePropertyFunction · 0.85
definePropertyFunction · 0.85
ownKeysFunction · 0.85

Calls 1

dieFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…