Please add support for the Svelte framework https://svelte.dev/
Svelte is becoming increasingly more popular and many people use it. Currently there is no good solution to implement the smart checkout buttons into a Svelte SPA. It needs the support like you have for react, vue and angular.
Probably something similar like the other implementations for SPA's. The only difference is that svelte is a compile time framework so it might need a sligthly different implementation than the current ones
Hi @Warix3! Adding support for Svelte seems like a good idea. It will take a little while to get it added since Svelte is a compile time framework, as you mentioned, so it works a little differently from things like React that we already support.
The good news is there is another pretty nice way to add PayPal Smart Payment Buttons to a Svelte app using paypal-js until we add official driver support. You can see an example of this in this PayPal integration example with Svelte
@amyegan Thanks for the info, I was actually looking for something like paypal-js but couldn't find so I used some hacky solution before, this is much better.
This issue has been automatically marked as stale. If this issue is still affecting you, please leave any comment (for example, "bump"), and we'll keep it open. We are sorry that we haven't been able to prioritize it yet. If you have any new additional information, please include it with your comment!
Closing this issue after a prolonged period of inactivity. If this issue is still present in the latest release, please create a new issue with up-to-date information.
Most helpful comment
Hi @Warix3! Adding support for Svelte seems like a good idea. It will take a little while to get it added since Svelte is a compile time framework, as you mentioned, so it works a little differently from things like React that we already support.
The good news is there is another pretty nice way to add PayPal Smart Payment Buttons to a Svelte app using paypal-js until we add official driver support. You can see an example of this in this PayPal integration example with Svelte