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

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

> Hacker News story 49037031 · language: en · submitted 2026-07-24
> Web version: https://zeli.app/story/49037031
> About this feed: https://zeli.app/llms.txt · Agent guide: https://zeli.app/skill.md

▲ 92 · by [plucafs](<https://news.ycombinator.com/user?id=plucafs>) · 💬 48
[original](<https://foldkit.dev/>) · [HN discussion](<https://news.ycombinator.com/item?id=49037031>)

## Summary

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.

## Key quote

> 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.

## HN discussion (48 comments)

### [Etheryte](<https://news.ycombinator.com/item?id=49037612>)

> 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?

### [curiouskoala](<https://news.ycombinator.com/item?id=49039064>)

> 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.

### [typesafeJ](<https://news.ycombinator.com/item?id=49042420>)

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

### [myk9001](<https://news.ycombinator.com/item?id=49040727>)

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

### [1-more](<https://news.ycombinator.com/item?id=49042085>)

> 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.

---

## Cite

- Page: https://zeli.app/story/49037031
- Date: 2026-07-24
- Source: foldkit.dev (https://foldkit.dev/)
- Hacker News: https://news.ycombinator.com/item?id=49037031

## Other languages

- zh: https://zeli.app/zh/story/49037031 · markdown: https://zeli.app/zh/story/49037031.md
- ja: https://zeli.app/ja/story/49037031 · markdown: https://zeli.app/ja/story/49037031.md
- ko: https://zeli.app/ko/story/49037031 · markdown: https://zeli.app/ko/story/49037031.md
- de: https://zeli.app/de/story/49037031 · markdown: https://zeli.app/de/story/49037031.md
- es: https://zeli.app/es/story/49037031 · markdown: https://zeli.app/es/story/49037031.md
