@mattpocockuk: The inevitable problem is that state always lives in multiple places - i.e. the URL, the server. So you need an Effect …
Summary
Matt Pocock argues that application state naturally lives in multiple places—such as the URL and the server—so developers need an Effect system capable of coordinating state across those boundaries.
View Cached Full Text
Cached at: 11/03/26, 04:19 AM
The inevitable problem is that state always lives in multiple places - i.e. the URL, the server.
So you need an Effect system that works with that too.
Similar Articles
@mattpocockuk: Maybe Redux, or a Redux-like framework needs a comeback Having state in ONLY ONE PLACE sounds pretty beneficial to agen…
Matt Pocock suggests Redux or a Redux-like framework could make a comeback for AI agents, arguing that keeping state in one place restricts the decision space and provides a single way of doing things.
Writing stateful effect handlers in EYG
A guide on writing stateful effect handlers in the EYG programming language, covering single-effect counters, generic Update/State effects, effect bouncing for testing, and pitfalls when returning functions from effects due to recursive type errors.
@mattpocockuk: I think I'm addicted to getting agents to build state machines Every time I see an agent has built a state machine (or …
Matt Pocock shares that he consistently gets better robustness and easier, more testable future updates when AI coding agents build state machines or reducers, and recommends the practice for frontend development.
Managing Complex Application State with Reactive Data Flows
The article explains how to manage complex application state in growing reactive UIs by using building blocks like Datastar, glimmer, Domino, and Ebb to handle data flows, business logic, and external integrations.
@mattpocockuk: Effect feels insanely good to use with agents: - Typed errors/dependencies power up your type checking - DI makes desig…
Matt Pocock praises the Effect library for agent development, highlighting typed errors and dependencies, dependency injection, and built-in abstractions that fit AI-agent coding in TypeScript. The post quotes the announcement of Effect v4, positioned as a foundation for building reliable software and AI agents in TypeScript.