Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

refactor: Optomise how page data is updated #1380

Merged
merged 1 commit into from
Apr 23, 2024

Conversation

NigelBreslaw
Copy link
Owner

Each inventory page is now a seperate array in the store that can be updated on its own. As opposed to a large ggCharacters object having to be updated regardless of which page changed.

Then instead of always creating a costly mutative 'create' object the checks for new data are done first. If the data changes then then mutative is used.

Each inventory page is now a seperate array in the store that can be updated on its own. As opposed to a large ggCharacters object having to be updated regardless of which page changed.

Then instead of always creating a costly mutative 'create' object the checks for new data are done first. If the data changes then then mutative is used.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant