- cross-posted to:
- sheodox_test
- [email protected]
- [email protected]
- cross-posted to:
- sheodox_test
- [email protected]
- [email protected]
First stable release!
Photon is now stable enough for people to be able to use. It’s a sleek Lemmy client where basically the only selling point is that it looks decent
I’d recommend logging in with an alt account for now, as I might freak something up that causes your credentials to leak. That’s basically impossible to have happen, but better safe than sorry.
What features should be priority right now?
JS is used quite heavily. The page isn’t reloaded, see that white progress bar at the top? That’s it fetching the necessary data and having the client swap out the DOM. That’s a feature of SvelteKit.
I unfortunately can’t really find a way to fix the back cache issue. Ironically, disabling JS on my client fixes back cache.
Most of the slowness comes from Lemmy itself. Since the CORS headers are broken, I need to route everything through a proxy, massively slowing things down. A modal based approach convolutes things more since instead of a +page.ts where data is fetched separately I have to have a weird modal and a svelte store to show the current post, it just gets really annoying.
I’ll try to make it so that it passes the data to the new route to instantly show the post, and hopefully fix back cache later.
Is Imagi what you’re envisioning?
The Imagi behaviour is a lot better for user flow.
I didn’t know you were using svelte for this. I guess it explains the weirdness you mention. Personally not a fan myself, as I can across similar issues. My “new hotness” stack or choice became solid and then qwik, as there was less “magic” and more possibility to take control when things get fucky.
Svelte is NOT Sveltekit. Very different purposes. The reason I use Sveltekit is because I love Svelte. I could use another server if I wanted to.
Most meta frameworks (Solid Start, Qwik City) use this rendering method as well.
How long is it taking for the post pages to load for you? It takes me about 0.5 - 1 second for the page to load with the client renderer.