Skip to content

Code Organization - #1

Open
andrewnessinjim wants to merge 6 commits into
jamiepaul:optimizationfrom
andrewnessinjim:main
Open

andrewnessinjim wants to merge 6 commits into
jamiepaul:optimizationfrom
andrewnessinjim:main

Conversation

@andrewnessinjim

Copy link
Copy Markdown
  1. Introduced a GameResetController component to handle reset automatically.
  2. Tucked away animation settings in a friendly-named variable to make JSX more readable.
  3. Merged disabled and status props into a single prop because they have similar roles.
  4. Broke down the core game logic into 3 separate hooks - useCellData, useStreak and useActiveAndMatchCell.

@vercel

vercel Bot commented Feb 26, 2025

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
pattern-game ✅ Ready (Inspect) Visit Preview 💬 Add feedback Feb 26, 2025 2:41am

This branch was successfully deployed

1 active deployment
Preview fa29d99f Deployed Feb 26, 2025 by vercel[bot]
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.

1 participant