Skip to content

The Game Component Refactor - #4

Merged
JManion32 merged 7 commits into
mainfrom
fix-components
Jun 29, 2026
Merged

The Game Component Refactor#4
JManion32 merged 7 commits into
mainfrom
fix-components

Conversation

@JManion32

@JManion32 JManion32 commented Jun 29, 2026

Copy link
Copy Markdown
Owner

As I've interacted with thoughtfully-designed components in other projects, I have realized that my components are messy. This refactor evaluates all components in game. They won't be perfect, but this will be a step in the right direction. The idea is that Game.tsx` is the root of the game component tree, and any children that need to modify other state within the game should use callbacks to do so.

I also added a new component: PageHeader, so each page is consistent, and there is no more code duplication for the header.

@JManion32
JManion32 merged commit b06904c into main Jun 29, 2026
11 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.

1 participant