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

Preload chunks when links are visible in the viewport #24

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

To speed up the page transitions this PR adds the preloading support to the routes chunks.

Every route gets preloaded when the link that points to it enters the viewport

@Valerioageno Valerioageno changed the title feat: preload chunk when links are visible in the viewport Preload chunks when links are visible in the viewport Aug 14, 2024
@Valerioageno Valerioageno merged commit 341fba6 into main Aug 14, 2024
11 checks passed
@Valerioageno Valerioageno deleted the handle-chunks-preloading branch August 14, 2024 18:50
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