MCPcopy Index your code
hub / github.com/caseywebdev/react-list / lanesToEventPriority

Function lanesToEventPriority

docs/index.js:4285–4294  ·  view source on GitHub ↗
(lanes)

Source from the content-addressed store, hash-verified

4283 }
4284}
4285function lanesToEventPriority(lanes) {
4286 lanes &= -lanes;
4287 return 2 < lanes
4288 ? 8 < lanes
4289 ? 0 !== (lanes & 134217727)
4290 ? 32
4291 : 268435456
4292 : 8
4293 : 2;
4294}
4295function resolveUpdatePriority() {
4296 var updatePriority = ReactDOMSharedInternals.p;
4297 if (0 !== updatePriority) return updatePriority;

Callers 2

flushPassiveEffectsFunction · 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…