MCPcopy Create free account
hub / github.com/thetarnav/solid-devtools / getPropsInitLabel

Function getPropsInitLabel

packages/logger/src/log.ts:348–358  ·  view source on GitHub ↗
(state: NodeState, proxy: boolean, empty: boolean)

Source from the content-addressed store, hash-verified

346//
347
348export function getPropsInitLabel(state: NodeState, proxy: boolean, empty: boolean): string[] {
349 const {type, typeName, name} = state
350 return [
351 `%c${typeName} %c${name}%c created with ${empty ? 'empty' : ''}${
352 proxy ? 'dynamic ' : ''
353 }props`,
354 '',
355 getNameStyle(type),
356 '',
357 ]
358}
359
360export function getPropsKeyUpdateLabel({name, type}: NodeState, empty: boolean): any[] {
361 return [

Callers 1

debugPropsFunction · 0.90

Calls 1

getNameStyleFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…