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 SolidJS view transition state persistence #11998

Merged

Conversation

johannesspohr
Copy link
Contributor

@johannesspohr johannesspohr commented Sep 15, 2024

Changes

This changes addresses the issue that the state if SolidJS components would not be retained when using transition:persist.

It introduces a reactive store to update the props passed to the root component after initialization (similar approach as the React integration is using).

Related to #11854

Testing

E2E test was added.

Docs

Only a fix, so no docs update should be needed.

Copy link

changeset-bot bot commented Sep 15, 2024

🦋 Changeset detected

Latest commit: bcea4ad

The changes in this PR will be included in the next version bump.

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@github-actions github-actions bot added pkg: solid Related to Solid (scope) pkg: integration Related to any renderer integration (scope) pkg: astro Related to the core `astro` package (scope) labels Sep 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
pkg: astro Related to the core `astro` package (scope) pkg: integration Related to any renderer integration (scope) pkg: solid Related to Solid (scope)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants