Foldkit: A TypeScript Frontend Framework Built on Effect and Elm Architecture

The front end framework for correctness: built on Effect, architected like Elm

Foldkit: A TypeScript Frontend Framework Built on Effect and Elm Architecture

I built Foldkit to solve frontend correctness by combining the Effect ecosystem with the Elm Architecture. Unlike React or Vue, which leave architecture decisions to you, Foldkit enforces a single immutable model and explicit effects. This approach ensures predictable state, linear complexity growth, and a unified system for routing, UI components, and testing without hidden mutations.

Foldkit asks you to think about frontend development differently. It uses The Elm Architecture, so there are no components, no hooks, no local state. Everything is declarative and structured.
  1. Etheryte

    I don't know, as far as I can tell the demo on the homepage is bugged? Or maybe I misunderstand how it's supposed to work? If I click reset after 2 seconds and then click add 1 right after it, the reset never fires. What's up with that, that's not what I expected to happen?

  2. curiouskoala

    The project seems super interesting and I've been following since the creator went on an effect podcast I listened to. My only gripe/concern is the fact that the docs are so glaringly AI (likely claude) generated which is something I've come to not expect from technical documentation writing specifically. All in all though, the verbosity tradeoff for explicit design choice here is the right one and I think it does better than elm by remaining in javascript land rather than building a nicer abstraction layer on top that often needs to reach in to do interesting things with the web apis.

  3. typesafeJ

    Reminds me of Mint Lang https://mint-lang.com/. (The programming language for writing single page applications)

  4. myk9001

    Oh wow, a new frontend framework! Has nature finally begun healing or something?

  5. 1-more

    The front page example rewritten in Elm, in case you want to compare apples to apples https://ellie-app.com/zqnVHwRJSGpa1

    Styling is all gross, sorry.

More from this day

2026-07-24