src/GameRouter.tsx was getting quite unwieldy. This is a simple change that creates a clear separation between GameRouter (probably due to be renamed GameApp or similar in the future) and useSetupSocketHandlers(). While both are due for more refactoring down the line, I think this is a good change for now.
src/GameRouter.tsx
was getting quite unwieldy. This is a simple change that creates a clear separation betweenGameRouter
(probably due to be renamedGameApp
or similar in the future) anduseSetupSocketHandlers()
. While both are due for more refactoring down the line, I think this is a good change for now.