MCPcopy Index your code
hub / github.com/mobxjs/mobx / createArrayBufferItem

Function createArrayBufferItem

packages/mobx/src/types/legacyobservablearray.ts:134–136  ·  view source on GitHub ↗
(index: number)

Source from the content-addressed store, hash-verified

132}
133
134function createArrayBufferItem(index: number) {
135 defineProperty(LegacyObservableArray.prototype, "" + index, createArrayEntryDescriptor(index))
136}
137
138export function reserveArrayBuffer(max: number) {
139 if (max > OBSERVABLE_ARRAY_BUFFER_SIZE) {

Callers 1

reserveArrayBufferFunction · 0.70

Calls 2

definePropertyFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…