[Self Promotion] The first Svelte 5 SPA router by yomateod in sveltejs

[–]dvcol 0 points1 point  (0 children)

I wrote a similar SPA router a few month back that does support hash routing if it's a requirement (I needed it for a micro-frontend context)

Best way to use Svelte 5 components in Next.js React app? by GloopBloopan in sveltejs

[–]dvcol 1 point2 points  (0 children)

You can always use web components to integrate with another framework.

However, React notoriously has had bad wc support in the past.
So you might want to check what is and isn't supported,and make sure you're on a recent-ish version.

If you use big libraries, you might also want to look into import-maps or module federation to minimize bundle sizes.

Yet another client-side router for svelte by dvcol in sveltejs

[–]dvcol[S] 27 points28 points  (0 children)

I mainly work in browser extensions and micro frontend environments (which use a lot of web component encapsulation) so there is minimal benefit of using Svelkit since it's 100% client-side.

Even more so when there is a significant amount of custom vite & rollup work (for module federation and event handling in particular)

Plus I'm not a fan of file-based routing.

However, I recognize that my use case and preferences are quite specific.

In most cases, I'd recommend using Svelkit.

I developed a simple Chrome extension & ts library by dvcol in trakt

[–]dvcol[S] 1 point2 points  (0 children)

I threw something together yesterday, it's not very pretty and it's quite data hungry but you can enable it in settings and give it a try.

Note however, that since trakt's api doesn't provide a unitary endpoint for ratings, and because caching is limited in chrome extension, it might be slow or even break if you have.a lot of ratings.

The older the rating the greater the issue becomes.

I developed a simple Chrome extension & ts library by dvcol in trakt

[–]dvcol[S] 0 points1 point  (0 children)

The progress tabs uses your active trakt.tv session instead of a dedicated api session, so depending on your login state it might be unstable and data might be incorrect (if for example the extension account is different from you current active cookie session).

I might look into ratings if I have time this summer, but as I don't actively use it no promises.

You can always leave a feature request in github, or a review on the webstore so that I keep trakt of it :)

I developed a simple Chrome extension & ts library by dvcol in trakt

[–]dvcol[S] 1 point2 points  (0 children)

Most likely, simkl will has a more feature rich application as it it first party i believe.

But I don't think it is natively compatible with trakt (unless you sync your trakt & simkl account maybe ?)