telegram-apps
telegram-apps copied to clipboard
SDK - SvelteKit integration
SvelteKit is built on Svelte, a UI framework that uses a compiler to let you write breathtakingly concise components that do minimal work in the browser, using languages you already know — HTML, CSS and JavaScript
fast: Powered by Svelte and Vite, speed is baked into every crevice: fast setup, fast dev, fast builds, fast page loads, fast navigation. fastest choice for an TMA.
fun: No more wasted days figuring out bundler configuration, routing, SSR, CSP, TypeScript, deployment settings and all the other boring stuff.
flexible: SPA? MPA? SSR? SSG? Check. SvelteKit gives you the tools to succeed whatever it is you're building. And it runs wherever JavaScript does.
Svelte seems good to me, but the problem is as long as I am the only one regular contributor, I need some time to dive a bit in Svelte. This would also be cool if we could find other developers with experience in Svelte to evaluate the implementation.
We will keep this issue opened not to lose it and return after some time
I'd be interested to help or contribute with a Svelte integration. I think that the target version should be Svelte 5 (unstable at the moment), that will be backward compatible with Svelte 4, allowing to use the library in both versions.
I just have started development of TMA with sveltekit. We'll see how it goes. I am also interested in contributing and maintaining sveltekit integration
Svelte seems good to me, but the problem is as long as I am the only one regular contributor, I need some time to dive a bit in Svelte
@heyqbnk you could reach me and we can work on this together :)
Any ideas about routing?
Yeah, I'm also down to contribute to the SvelteKit SDK.
@ZerdoX-x I have used SvelteKit native routing without issues. On firsts mini-apps releases (when they were called web apps) there were issues navigating, and I had to use goto(...), but that is not longer the case.
how is it going with the svelteKit tma SDK? I'm down to contribute as well!
Hey! I would like to ask you to pause the process a bit as long as I am currently working on a new major version. It will be completed approximately in 1-2 weeks
@heyqbnk let me know if there is any help needed
Hey! I forgot to remember, that SDKv2 is ready.
You can implement the SvelteKit integration using the SDK for React as a reference
@telegram-apps/sdk-svelte has just released. Thank you for your time
https://docs.telegram-mini-apps.com/packages/telegram-apps-sdk-svelte