telegram-apps icon indicating copy to clipboard operation
telegram-apps copied to clipboard

SDK - SvelteKit integration

Open hitaspdotnet opened this issue 1 year ago • 9 comments

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.

hitaspdotnet avatar Dec 18 '23 10:12 hitaspdotnet

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

heyqbnk avatar Dec 19 '23 08:12 heyqbnk

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.

svex99 avatar May 14 '24 22:05 svex99

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 :)

ZerdoX-x avatar May 23 '24 13:05 ZerdoX-x

Any ideas about routing?

ZerdoX-x avatar Jun 26 '24 23:06 ZerdoX-x

Yeah, I'm also down to contribute to the SvelteKit SDK.

pantemon avatar Jul 07 '24 14:07 pantemon

@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.

svex99 avatar Jul 07 '24 18:07 svex99

how is it going with the svelteKit tma SDK? I'm down to contribute as well!

0xAr0k avatar Aug 15 '24 18:08 0xAr0k

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 avatar Aug 17 '24 21:08 heyqbnk

@heyqbnk let me know if there is any help needed

pantemon avatar Aug 18 '24 09:08 pantemon

Hey! I forgot to remember, that SDKv2 is ready.

You can implement the SvelteKit integration using the SDK for React as a reference

heyqbnk avatar Oct 26 '24 09:10 heyqbnk

@telegram-apps/sdk-svelte has just released. Thank you for your time

https://docs.telegram-mini-apps.com/packages/telegram-apps-sdk-svelte

heyqbnk avatar Nov 01 '24 07:11 heyqbnk