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

fix(signals): restore lost store signals after SPA navigation #210

Merged
merged 2 commits into from
May 26, 2024

Conversation

aralroca
Copy link
Collaborator

Fixes #208 bug.

This bug was introduced after SPA behavior. The problem is that the subscription was re-created again, without keeping the listeners that are still alive after browsing with SPA because the web components that are still alive in the same place are kept alive without disconnecting them.

@aralroca aralroca self-assigned this May 26, 2024
@@ -18,7 +18,7 @@ const pageWebComponents = {
};

const i18nCode = 3072;
const brisaSize = 5725; // TODO: Reduce this size
const brisaSize = 5732; // TODO: Reduce this size
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

We need to focus on the next iterations on reducing this size as much as possible...

@aralroca aralroca merged commit 1875c5e into main May 26, 2024
0 of 2 checks passed
@aralroca aralroca deleted the fix-bug-store-spa branch May 26, 2024 16:30
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.

Store signals after SPA navigation are losed
1 participant