Closed j-toscani closed 9 months ago
Is your feature request related to a problem? Please describe. The game state is handled in many different components.
Putting handlers and state into many different components and handleing them in react and via Browser Apis is not ideal.
Describe the solution you'd like Use one or multiple React.Contexts to have the GameState in one place with all it´s methods.
Describe alternatives you've considered
zustand
The latter is Overkill. The first is not enough
Additional context Add any other context or screenshots about the feature request here.
Is your feature request related to a problem? Please describe. The game state is handled in many different components.
Putting handlers and state into many different components and handleing them in react and via Browser Apis is not ideal.
Describe the solution you'd like Use one or multiple React.Contexts to have the GameState in one place with all it´s methods.
Describe alternatives you've considered
zustand
The latter is Overkill. The first is not enough
Additional context Add any other context or screenshots about the feature request here.