Toot

Written by Florimond Manca (en) on 2025-02-02 at 20:52

In 2023, two years after being built, the app was legacy. Couldn't upgrade the frontend.

Sure Svelte was less heavy than React. But why did the login page, as bare as it was, need JS anyway, let alone 100kB of it?

I took a week off my main project and did the app a favor: rewrite, but moving *out *of the "JS by default" paradigm.

I replaced the API routes with controller methods returning HTML rendered by Nunjucks #templates.

A third of the codebase disappeared!

=> More informations about this toot | View the thread | More toots from florimond@fosstodon.org

Mentions

Tags

=> View templates tag

Proxy Information
Original URL
gemini://mastogem.picasoft.net/toot/113936274226143702
Status Code
Success (20)
Meta
text/gemini
Capsule Response Time
221.966158 milliseconds
Gemini-to-HTML Time
0.647639 milliseconds

This content has been proxied by September (3851b).