maciekgrzybek / svelte-inview

A Svelte action that monitors an element enters or leaves the viewport.🔥
MIT License
749 stars 23 forks source link

Does it support server side rendering with svelte-kit? #16

Closed the-leonat closed 2 years ago

maciekgrzybek commented 2 years ago

Hey, It should work in SSR apps. Obviously it won't be rendered on the server as Intersection Observer API is a browser-only API. But it will be hydrated on the client, so you should be good :)