maciekgrzybek / svelte-inview

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

Support Svelte v4 #43

Closed bartveneman closed 1 year ago

bartveneman commented 1 year ago

Currently Svelte is listed as a peerDependency with version ^3.0.0. It would be nice to start testing with Svelte 4 (beta) to check if there's any breaking changes. If all works, maybe v4 can be added to the list of supported peerDependencies.

maciekgrzybek commented 1 year ago

Hey @bartveneman that's a good idea. I'm a little short on the free time recently, you fancy to test it and create PR? :)

bartveneman commented 1 year ago

I'll give it a try 👍. Would have added that to my opening question, but forgot, sorry 😅