[OPTIMIZATION] LogInteraction & AddPersonDrawer - Layout Thrashing Animations #59
Labels
No labels
blocked:depends-p1
blocked:gate-research
blocked:lint-failed
blocked:needs-decision
blocked:needs-human
blocked:verify-failed
bug
data-loss
documentation
enhancement
feature-request
in-progress
needs-decompose
needs-triage
pwa
quickfix
security
security/high
security/medium
test
test-coverage
triage-approved
vault
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Mark/kimi_agent_kin_app_sync#59
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?
src/pages/LogInteraction.tsx - Critical (1), High (2), Medium (1), Low (1)
Critical:
height: "auto"animation triggers 60 layout passes/secmax-heightor CSStransform: scaleY()/clip-pathHigh:
2.
form.personIds.includes()×5 per person in render loopSet+useMemopeople.find()inmap()loop for person selectionpeopleMapMedium:
4.
useEffectwith filter/sort on every dep - move touseMemoLow:
5.
FileReadermissingonerrorhandlersrc/pages/people/AddPersonDrawer.tsx - Critical (1), High (1)
Critical:
height: "auto"animation (2 locations) - same layout thrashingHigh:
2. Object
useState({ contact: false, dates: false })causes full re-render on any field changeuseStatecalls