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
Svelte Currently operates in binary, SSR or Client side (admittedly this being heavily customisable to reasonably fine detail), there however is still no way to control the hydration at multiple stages of life cycle specifically at
Server Side: Directly Rendered
Client Side:
On Load
On Visible
On Idle
Describe the proposed solution
The easiest would probably be an Astro like solution where on:load, on:visible and on:idle attributes are directly used, considering svelte's compiler like nature, it makes it easy to abstract away this functionality at least on a component level from end user, using requestIdleCallback, IntersectionObserver etc, (We might need to add polyfills if this feature is implemented)
Describe the problem
Svelte Currently operates in binary, SSR or Client side (admittedly this being heavily customisable to reasonably fine detail), there however is still no way to control the hydration at multiple stages of life cycle specifically at
Describe the proposed solution
The easiest would probably be an Astro like solution where
on:load
,on:visible
andon:idle
attributes are directly used, considering svelte's compiler like nature, it makes it easy to abstract away this functionality at least on a component level from end user, usingrequestIdleCallback
,IntersectionObserver
etc, (We might need to add polyfills if this feature is implemented)Alternatives considered
Currently doing this manually or with slightly prebuilt libraries like svelte-visibility-change
Importance
would make my life easier
The text was updated successfully, but these errors were encountered: