Skip to content

Add PrefetchScheduler for Web Platforms#2928

Open
ApoloApps wants to merge 5 commits intoJetBrains:jb-mainfrom
ApoloApps:webPrefetchScheduler
Open

Add PrefetchScheduler for Web Platforms#2928
ApoloApps wants to merge 5 commits intoJetBrains:jb-mainfrom
ApoloApps:webPrefetchScheduler

Conversation

@ApoloApps
Copy link
Copy Markdown

Adds a PrefetchScheduler for LazyLayouts in Web platforms by using requestIdleCallback browser API which enqueues some prefetch work if and only if browser detects idle periods. Unsupported browsers default to NoOp PrefetchScheduler (like all other platforms)

Fixes CMP-1265 (only Web)

Release Notes

Features - Web

  • Added prefetching of LazyLayouts items during browser idle times

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