A resumable TEA framework that reads like React/Solid.
idlip.vercel.app/docs/compon…
Very cool
Bored, so I made this
idlip.vercel.app/
1
5
1,080
Patrick G retweeted
Major new Unison release, 2.0.0. It adds an LLVM-based JIT, record types, ability to compile standalone binaries, a revamped and more powerful MCP server, and more.
github.com/unisonweb/unison/…
Dang. I suppose this is a bad time to announce a new version of foldkit-plus.pages.dev? lol
Improvements around domain invariant verification. Component configuration. And a big docs improvement!
foldkit-plus.pages.dev/blog/…
Hello friends,
I have some super exciting and probably not-all-that-surprising news to share!
I'm joining Effectful Technologies full time as a core maintainer of Effect, and I'm bringing Foldkit with me. Foldkit will live under the Effect organization.
I started Foldkit in June 2025 to explore what an Effect-native frontend framework could look like. Since then, Foldkit has found production users, grown a community of developers, and reached 1,200+ GitHub stars and around 180k weekly npm downloads.
It's a great start. Now, we're putting the full power of the Effect team behind the project and setting our sights on something much bigger.
Foldkit will move beyond frontend to become Effect's full-stack application framework: a composable, opinionated, agent-friendly stack from browser to database, built directly on Effect primitives.
A few more things I'm particularly excited about:
On the frontend, we're rebuilding Foldkit's foundation from the ground up, and I couldn't be happier about how it's going. We're building composable, Elm-inspired primitives directly into Effect so you can build UIs across different rendering environments. We're taking what we've learned building Foldkit and using it to create something better suited to production applications at scale.
Beyond the frontend, we're bringing that same opinionated, Effect-native approach to data access, auth, email, background work, sync and local-first, and deployment. The pieces will be composable and testable, with observability built in.
The goal is to make building a whole product with Effect feel as cohesive and powerful as writing a single Effect program.
Personally, I'm thrilled to work as part of the Effect team. It's been a dream of mine.
Q&A
What happens to the current Foldkit frontend framework?
Feature development will pause as we shift that work to the new frontend foundation. We'll keep fixing critical bugs at least until it ships with an upgrade guide.
Should I keep building with Foldkit or start a new project with it?
Yes. If you build a Foldkit app today, we'll give you an upgrade path to the new frontend foundation.
What is the new frontend foundation?
The new frontend foundation will be part of Effect itself and the basis for Foldkit's full-stack framework. It will provide composable, host-agnostic, Elm-inspired primitives for building user interfaces with Effect. It keeps what people like about Foldkit today while addressing the rough edges.
Will existing applications need to be migrated or rewritten?
Migrated, yes. Rewritten, no. Moving to the new frontend foundation should feel like a major Foldkit upgrade, not like adopting a new framework. There will be API changes, some of them substantial, and we'll publish upgrade guides as they take shape.
What happens to the Blocks and Layers preview release?
The Blocks and Layers preview won't ship. That work will be absorbed into the new frontend foundation.
Thank you to everyone who's used Foldkit, contributed, shared feedback, or helped spread the word. You've helped shape what Foldkit is today, and I'm incredibly excited about what we'll build next.
We're just getting started.
foldkit.dev/blog/foldkit-joi…
1
16
826
What if Solid js was a language?
How would that improve things?
Read this to find out
Wrote a new article on the papercuts that ReactiveScript solves
brenelz.com/posts/papercuts-…
3
250
Patrick G retweeted
Replying to @RobbieSpeed
A few months ago I tweeted that I was sketching something out along these lines: hackmd.io/@patrickg/rkfZUqbc…
But it turned into: foldkit-plus.pages.dev (the docs are still rough)
So there's really two things here. 1: The typed layer above the view, and 2: The ability to reach in and compose/alter behaviors and styles from the outside.
The main benefits are:
- A typesafe design system/token contract (think something like PandaCSS).
- Access to the bits of the view that make up a component, so you can compose/alter behaviors without being stuck with whatever the component provides.
- If it's fully declarative, you should be able to port the style/behavior contracts to other platforms, like TUI/native/other frameworks.
It's basically the same benefit that Effect Layers/Services/Requirements give you on the backend, but for the styles/behaviors/slots of a component.
I think the reason we ended up with shadcn/ui was because it was difficult to customize components from the outside. They never quite looked or behaved exactly how you wanted, so shadcn let you modify the view/behaviors/styles from inside the component itself, almost like privileged access.
But this isn't very composable, and limits our ability to build higher abstractions. Every project starts from the same base and customizes it, but I can't really benefit from your customization. The shadcn registry tries to fix that, but now we get a Cambrian explosion of uncomposable foundations.
With React 19's refs, Solid's refs, and Remix's mix, you can expose the view to higher-order composables, but this could get messy pretty quickly.
You could imagine a parent adding a behavior, and then a grandparent stepping on the parent's toes. Or multiple composables targeting the same event handler, attribute, etc. Which gets us right back to some of the problems with traditional mixins.
So to manage that, you need a reliable contract. Something to specify what parts of the view are exposed, what capabilities they have, what a behavior requires, and what can or can't be modified. And ideally have the type system enforce as much of that as possible, rather than just hoping everything composes correctly.
Patrick G retweeted
I'm starting to believe that code generation is a failure of API design. React's model is the only reason something like shadcn has to exist. Because you can't effectively apply behaviors/styles to elements from the outside, in a typesafe way.
Patrick G retweeted
Replying to @vercel
I called it.
Replying to @RyanCarniato @mjackson
This sort of composition, completely obviates the need for codegen ui libraries like shadcn.
You could imagine building it out of small composable primitives.
Similiar to zag.js or pandacss
The missing thing is a layer above it , that is type safe, specifying what sorts of styles/behaviors/mixins are needed.
Looks a lot like foldkit-plus.pages.dev 😅😆
22
2,609
Patrick G retweeted
1/7
Another @foldkit Blocks + Effect Layers preview release is out the door. :)
This one includes some pretty significant changes and additions to Block authoring: construction through Layers, InMessages, composable updates, and less child initialization wiring.
A few before/afters compared to the previous preview below in the thread.
My prediction: Frontend frameworks will soon move into the schema/type/expression/algebraic operations spaces. They can't ignore it.
They are all destined to contain/be a compiler IR.
Replying to @kvnkusch
Yeah which is the part that is outside of the scope of the framework. We might render on the server, even beyond initial SSR via live channels/server components but the server solution needs to provide those guarentees as input. I've thought about using things like @convex as a backend that never directly reaches the client.
A sketch of something like this from a while ago: hackmd.io/@patrickg/HJ8EIJ4y…
3
307
Patrick G retweeted
Replying to @RelevantElement @RyanCarniato
But with a well-defined schema and statically defined operations, you might not need the Solid api, or defined relationships at all.
You should be able to derive how changes propagate from the operations themselves, without having to declare the relationships separately.
Very cool example.
I was curious to see what a @solid_js 2.0 version would look like. This is what my agent came up with: solid-domains.doeixd.workers…
I made Vercel Domains, CAFE style.
A fun excuse to hack with @Cloudflare, @alchemy_run, @foldkit, and @EffectTS_ (and put the new Blocks and Layers API through its paces).
As @RhysSullivan pointed out, this is a deceptively complex UI:
- URL synchronization
- Debounced requests, cancellation, and stale responses
- Cached results, expiry, and retry
- A virtualized list with progressive data loading
- Filters and sorting
- SSR, hydration, mobile keyboards, focus, dialogs, and accessibility
There’s a lot of behavior here, but the state, transitions, and effects are explicit. And Story + Scene tests let us pin down the subtle stuff that’s easy to break.
Alchemy declares and deploys the Cloudflare Worker, assets, and custom domain. The backend serves sample domain data through Effect RPC.
Foldkit goodies used:
- New Block Composition API
- KeyedQuery
- VirtualList
- Story + Scene tests
- DevTools + DevTools MCP
(Uses sample prices and availability.)
Try it: domains.foldkit.dev
Source: github.com/foldkit/foldkit-d…
4
15
1,685











