MCPcopy Create free account
hub / github.com/bvaughn/react-window / decode

Function decode

integrations/tests/src/utils/serializer/decode.ts:17–21  ·  view source on GitHub ↗
(stringified: string)

Source from the content-addressed store, hash-verified

15let key = 0;
16
17export function decode(stringified: string) {
18 const json = JSON.parse(stringified) as EncodedElement[];
19
20 return decodeChildren(json);
21}
22
23function decodeChildren(children: EncodedElement[]): ReactElement<unknown>[] {
24 const elements: ReactElement<unknown>[] = [];

Callers 1

DecoderFunction · 0.90

Calls 1

decodeChildrenFunction · 0.85

Tested by

no test coverage detected