Twitxy Saved

Devin Jameson

Verified account This account is verified. Learn more

@devinjameson

Creator of @foldkit. Helping you ship better frontends faster with @EffectTS_.
United States foldkit.dev Joined May 2016
795 Following 1.5K Followers 1.4K Posts

Latest posts 5

Devin Jameson Verified account @devinjameson
On a plane. Have to pee. Thinking.

A core challenge in framework design is optimizing developer experience in large, mission-critical apps on day 500, while keeping the framework APIs simple enough that those same developers feel confident on day 1.

The simplest-looking API isn’t always the simplest framework to use.

I don’t claim to be particularly good at striking the right balance here, or to have figured this out for Foldkit. But it’s something I think a lot about when designing its APIs.

The basic idea is: the pattern that feels fantastic and lightweight on day 1 can feel like a mess on day 500. If you know that in advance, should you just use the day 500 pattern from day 1?

This idea that you should “start simple” and then bring in tools to “manage complexity” as your application grows has always irked me.

With React, it was often: let’s just use useState and some Contexts until we make enough of a mess to use a “state management” tool. And in my experience, that refactor to a better pattern rarely happens.

I’m not advocating for over-engineering. I’m asking: if a pattern is slightly more complex, but scales more gracefully, should you use it from day 1?

I personally don’t think scaling a frontend application should require adopting new architectural patterns or undertaking significant refactors just because the application grew.

I think this is especially important for agent-friendly frameworks. You want your agent to invent as little as possible in the way of patterns and architecture. Predictability and uniformity directly support your ability to verify output. This reduces cognitive load, enhances confidence, and makes you faster.

Ultimately, I think each Foldkit app should look eerily similar, no matter the scale or complexity, with the domain being the only thing varying.
8 replies 0 reposts 42 likes 1.9K views View on X
Devin Jameson Verified account @devinjameson
I've decided to start working on Foldkit full-time. :)

There's enough momentum behind the project that I feel confident taking the leap.

No matter how things work out, I think I'll be glad I gave this my complete attention right now.

I'm excited to see what full-time focus does for the project and community.

More in thread!