这是indexloc提供的服务,不要输入任何密码
Skip to content

fix: route switch wrappers re-rendering #23

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

Merged
merged 2 commits into from
Aug 14, 2024

Conversation

Valerioageno
Copy link
Member

@Valerioageno Valerioageno commented Aug 14, 2024

Context

In the first iteration while changing route all the parents components (__roots) were re-rendered causing a state leaking bug.
With this fix the wrappers get memoized so they can be safely implemented.

Next iteration will fix the documentation website

Description

@Valerioageno Valerioageno force-pushed the fix-route-re-rendering-bug branch from 55e3266 to 4d19c9d Compare August 14, 2024 12:23
@Valerioageno Valerioageno merged commit 9835a4c into main Aug 14, 2024
11 checks passed
@Valerioageno Valerioageno deleted the fix-route-re-rendering-bug branch August 14, 2024 12:26
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.

1 participant