MCPcopy
hub / github.com/rafgraph/spa-github-pages / parseQueryString

Function parseQueryString

src/components/ExampleTwoDeepComponent.tsx:49–56  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

47 }
48
49 function parseQueryString() {
50 if (!queryPresent) return [];
51 return location.search
52 .replace('?', '')
53 .split('&')
54 .map((fvPair) => fvPair.split('='))
55 .map((pair) => [pair[0], pair.slice(1).join('=')]);
56 }
57
58 return (
59 <div>

Callers 1

ExampleTwoDeepComponentFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected