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

Quick fix for lingering store hydration #788

Merged
merged 7 commits into from
Oct 16, 2023

Conversation

travjenkins
Copy link
Member

@travjenkins travjenkins commented Oct 13, 2023

Issues

Found in slack channel

Changes

Misc

  • Added a flag of active to stores with hydration to store off if the store is being used. This is just a quick fix to prevent store's from being hydrated after the user leaves the pages that use them.

  • Saw an issue with journalData spamming calls during network issues so making that better

Tests

Manually tested

  • Slowed the network and would enter capture create (with a connector) and quick leave. Then keep an eye on the store and see if the store ended up hydrated.

Screenshots

@travjenkins travjenkins marked this pull request as ready for review October 13, 2023 15:45
@travjenkins travjenkins requested a review from a team as a code owner October 13, 2023 15:45
Copy link
Member

@kiahna-tucker kiahna-tucker left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Approved without manual testing.

@travjenkins travjenkins merged commit e68a122 into main Oct 16, 2023
3 checks passed
@travjenkins travjenkins deleted the travjenkins/better-store-resetting branch October 16, 2023 14:20
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.

2 participants