MCPcopy
hub / github.com/QwikDev/qwik / getNextIndex

Function getNextIndex

packages/qwik/src/core/render/execute-component.ts:211–213  ·  view source on GitHub ↗
(ctx: RenderContext)

Source from the content-addressed store, hash-verified

209};
210
211export const getNextIndex = (ctx: RenderContext) => {
212 return intToStr(ctx.$static$.$containerState$.$elementIndex$++);
213};
214
215export const setQId = (rCtx: RenderContext, elCtx: QContext) => {
216 const id = getNextIndex(rCtx);

Callers 5

renderSSRComponentFunction · 0.90
renderNodeFunction · 0.90
processDataFunction · 0.90
useIdFunction · 0.90
setQIdFunction · 0.85

Calls 1

intToStrFunction · 0.90

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…