Add a performance refactor to current game state. It adds a new middleware to handle that functionality. So the ticker component doesn't need to "watch" the game state.
Fixes # (TODO)
Type of change
Please delete options that are not relevant.
[ ] Bug fix (non-breaking change which fixes an issue)
[x] New feature (non-breaking change which adds functionality)
[x] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[x] This change requires a documentation update
How Has This Been Tested?
Please describe the tests that you ran to verify your changes. Provide instructions so we can reproduce. Please also list any relevant details for your test configuration
Pull Request Template
Description
Add a performance refactor to current game state. It adds a new
middleware
to handle that functionality. So theticker
component doesn't need to "watch" the game state.Fixes # (TODO)
Type of change
Please delete options that are not relevant.
How Has This Been Tested?
Please describe the tests that you ran to verify your changes. Provide instructions so we can reproduce. Please also list any relevant details for your test configuration
yarn test:unit
yarn cypress:run
yarn storybook
yarn start
Test Configuration: