Tweets
Short thoughts, cross-posted to Bluesky, Mastodon, and occasionally X.
-
A Python frontend framework now beats Next.js 🤯 In our benchmark of 12 frameworks, Citry v1.0 loads pages faster than Next.js, and catches more mistakes before the app runs than any of them, Next.js with TypeScript included. How a Django dev got here 🧵
A few years ago I was building a Django app. For the frontend I had two options: - Django templates: simple, but mistakes showed up only once someone opened the page - A separate Vue or React project: great tooling, but now two projects to manage
After years with Vue, I wanted the best of both, in Python. So I built Citry. One component holds its HTML, CSS, JS and server events in one Python file. Your editor knows your components and catches mistakes as you type. Works with Django, FastAPI and Flask.
It's also engineered for AI agents. Agents make the same small mistakes we do, just faster. When the framework catches a mistake before the app runs, the agent fixes it itself.
Citry is open source (MIT) Try it in the browser: https://citry.dev/playground/ The full story: https://citry.dev/blog/citry-1-0-0/