MCPcopy Create free account
hub / github.com/solidjs/solid-start / createID

Function createID

packages/start/src/directives/plugin.ts:79–85  ·  view source on GitHub ↗
(ctx: StateContext, name: string)

Source from the content-addressed store, hash-verified

77}
78
79function createID(ctx: StateContext, name: string) {
80 const base = `${ctx.hash}-${ctx.count++}`;
81 if (ctx.env === "development") {
82 return `${base}-${name}`;
83 }
84 return base;
85}
86
87function transformFunction(
88 ctx: StateContext,

Callers 2

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