Skip to content

Conversation

@besscroft
Copy link
Owner

  • Memoize PolaroidCard component using React.memo to prevent unnecessary re-renders when updating z-index.
  • Refactor handleCardClick with useCallback and useRef to maintain stable function references and avoid child component updates.

- Memoize `PolaroidCard` component using `React.memo` to prevent unnecessary re-renders when updating z-index.
- Refactor `handleCardClick` with `useCallback` and `useRef` to maintain stable function references and avoid child component updates.
@vercel
Copy link

vercel bot commented Jan 8, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Review Updated (UTC)
picimpact Ready Ready Preview, Comment Jan 8, 2026 2:25pm

@besscroft besscroft merged commit 20b3e3c into main Jan 8, 2026
4 of 6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants