halfnelson / svelte-native

Svelte controlling native components via Nativescript
MIT License
1.82k stars 78 forks source link

RFC: support for svelte 5 #359

Open laciferin2024 opened 4 months ago

laciferin2024 commented 4 months ago

Svelte 5 is quite stable now, it would be great to roll out support for svelte 5.

benmccann commented 3 months ago

This would require changes in Svelte 5 itself.

In Svelte 4, Svelte Native was implemented by overriding the DOM creation methods. However, Svelte 5 doesn't use those same methods anymore and so that won't work. The foreign namespace solution needs to be replaced with a custom render inside Svelte 5. That won't happen in time for Svelte 5.0, but is something that should be able to be added in a later minor release in a non-breaking fashion

NathanWalker commented 1 month ago

Anything we can do to help here @halfnelson @benmccann ?

victorriba commented 1 week ago

I think this project lacks maintainers?