MCPcopy Create free account
hub / github.com/TanStack/devtools / shouldRender

Function shouldRender

packages/devtools-a11y/src/core/components/IssueList.tsx:118–123  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

116 ally.filteredIssues().filter((issue) => issue.impact === impact)
117
118 const shouldRender = () => {
119 if (ally.impactKey() !== 'all') {
120 return ally.impactKey() === impact
121 }
122 return issues().length > 0
123 }
124
125 return (
126 <Show when={shouldRender()}>

Callers 1

A11yIssueListFunction · 0.85

Calls 1

issuesFunction · 0.85

Tested by

no test coverage detected