[HIGH] Memoize filteredSubscriptions in App.tsx - prevent recomputation on every keystroke #33
Labels
No labels
blocked:needs-human
blocked:verify-failed
bug
feature-request
quickfix
security/high
security/medium
test-coverage
triage-approved
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Mark/subvault#33
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Location:
src/App.tsx:364-368Problem:
filteredSubscriptionsis recomputed on every render by scanning the full subscriptions array with 2x.toLowerCase()per item. Combined with uncontrolled AuthContext re-renders, this fires on every state change.Impact: Linear scan over full array on every keystroke + every parent state change.
Fix:
Effort: ~30 mins