You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Introduce more flexibility around server island loading trigger (i.e. automatic vs depending on visibility, etc.).
Background & Motivation
When compared to multiple variants of client directives, server islands loading strategy is too rigid. For content-intense pages, there may be some secondary or tertiary elements rendered as server islands that should wait for their turn to be executed.
Goals
Addressing limited loading strategy when compared to client islands.
Example
Just a few random ideas to kickstart the conversation:
<!-- Default --><EpisodesGridAstroserver:defer/><!-- Similar to "lazy" img and iframe --><EpisodesGridAstroserver:defer="lazy" /><!-- More explicit --><EpisodesGridAstroserver:defer="viewport" /><!-- Defer until another element is ready? --><EpisodesGridAstroserver:defer=".cart" />
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Summary
Introduce more flexibility around server island loading trigger (i.e. automatic vs depending on visibility, etc.).
Background & Motivation
Goals
Example
Just a few random ideas to kickstart the conversation:
Beta Was this translation helpful? Give feedback.
All reactions