Skip to content

Code Organization#1

Open
andrewnessinjim wants to merge 6 commits intojamiepaul:optimizationfrom
andrewnessinjim:main
Open

Code Organization#1
andrewnessinjim wants to merge 6 commits intojamiepaul: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
Copy link
Copy Markdown

vercel Bot commented Feb 26, 2025

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

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