YTUnity logo

Welcome to YTUnity

One free SpiderTaz Network account works across every network site.

The Game That Deleted Its Frontend - Fabian Merkle (Clojure/Conj 2026)

ClojureTV Guide 15 days ago

Description

I built a multiplayer board-game table as a ClojureScript re-frame SPA. Thousands of games got played on it, and the client-side state handling was the part I never stopped fighting. So now my apps have no frontend code at all: the server owns every bit of state through a core.async.flow CQRS backbone, and streams the UI over a single SSE connection to Datastar. The main idea you'll take home is routing data by what it needs: user actions go into an append-only event log (history, replay and undo come for free), live cursors go over a lossy broadcast that never touches the database.

Speaker: Fabian Merkle, Consultant

I'm Fabian Merkle, a Clojure consultant in Dubai, six years full-time in Clojure and twelve as a developer. I work with early-stage startups across the US and Europe — fintech, gaming, ERP, EdTech.

0:00 The challenge of state
2:30 Introducing the solution
3:45 Datastar in action
5:58 Advanced UI with Datastar
8:22 Lessons and best practices
11:00 Managing state with flow
12:16 Core.async flow architecture
13:24 Game state implementation
15:24 Generalizing the architecture
16:46 Tiered state management
20:27 Reflections and future goals
21:45 The paradigm shift

Featured creators

Creators on the SpiderTaz Network

Become a creator →