Building a Filament-Style Admin in Go + Inertia React: Architecture & 5 Real-World Lessons
In December 2026, Dan Harrin shared a pivotal architectural update on X: the Filament Go and Filament Rust prototypes are built on Inertia React, rather than porting Livewire to Go or Rust.
That single decision validates a shift we have been building toward in production. Over the past week, we built and shipped Asaka — an open-source, Go-native server-driven admin panel for Laravel Go + PostgreSQL / MySQL / SQLite + Inertia v3 + React — and ran it live against 10,000 PostgreSQL rows in a single ~55 MB binary.
Moving a server-driven admin panel from Livewire to Inertia React changes the rules in subtle, practical ways. Here is the architecture that worked cleanly, plus the 5 real-world lessons we hit along the way.
The Core Architecture: Schema JSON + Thin Inertia Shell + Drop-in React
Instead of re-implementing Livewire's server-side DOM diffing in Go or Rust, a server-driven admin on Inertia React splits cleanly into three layers:
- Server Layer (Go / Rust / PHP): Declares resources, columns, filters, 20 form fields, policies, and actions as plain structs. On each request, it compiles those declarations into a typed Schema JSON + paginated records + capabilities (
canCreate,canEdit,canDelete). - Inertia React Shell: Renders tables, filters, forms, infolists, modals, and relation managers generically from that Schema JSON. You write zero per-resource React for 90% of CRUD screens.
- Drop-in React + WebAssembly Components: Whenever a business screen outgrows standard CRUD (spreadsheets, pivot tables, shift rosters, schedulers, floor plans), you mount a framework-agnostic React (+ optional Rust
.wasm) component via a 10-line registry (registerAsakaField/registerAsakaWidget) or custom page.
5 Real-World Lessons Building It in Production
1. Keep Action Modals Strictly Local in React
In Livewire, opening a modal, toggling a checkbox inside it, and closing it all trigger server round-trips. In Inertia React, never round-trip to open or edit a modal.
Keep modal open/close state and draft form values strictly in React state, and send only the final submit to the server (POST /admin/{slug}/actions/{action}). Every click feels instant (0 ms UI latency), and your Go/Rust server only handles real state mutations.
2. Scope Inertia Partial Reloads Strictly (Especially Around 422 Validation)
When a background mutation or inline cell edit succeeds, a full page reload resets open drawers, active filter popovers, or unsaved inputs.
Use Inertia's only: ['records', 'summary'] partial reloads strictly scoped to table/widget keys. On HTTP 422 validation errors, return structured fieldErrors directly to the active modal or inline cell without disturbing the rest of the page.
3. Evaluate Dependent Fields Client-Side, Validate Server-Side
Business forms constantly need conditional visibility (visibleWhen) and live computed totals (like line-item subtotals inside a Repeater).
Shipping lightweight visibility/expression rules inside the Schema JSON lets React react in 0 ms on every keystroke, while the Go backend remains the single source of truth on submit (plus an explicit /live endpoint only when server-side DB lookups are genuinely needed).
4. Replace Polling with Native Go / Rust SSE Streams
Livewire's wire:poll is simple, but polling every few seconds wastes CPU and DB connections at scale.
Go and Rust shine at long-lived HTTP streams. Serving notifications and background job progress over native Server-Sent Events (EventSource) with context.Context cancellation gives instant live toasts, bell drawers, and cancellable batch jobs with near-zero memory overhead — no Redis or WebSocket broker required.
5. The Real Superpower: One Shared UI Ecosystem Across PHP, Go, and Rust
This is the biggest strategic consequence of Filament Go and Filament Rust adopting Inertia React:
- Previously, Filament PHP (Livewire + Alpine) and React apps lived in completely separate worlds.
- When Filament Go, Filament Rust, Asaka, and Laravel PHP (Inertia React) all share React + TypeScript on the frontend, a single framework-agnostic React + WebAssembly component (such as a 20 KB Rust
.wasmpivot aggregator, canvas spreadsheet, or shift roster) works across all three backend languages with nothing more than a thin JSON adapter.
Go-Native Superpowers You Get for Free
Because Asaka is built natively for Go rather than porting PHP abstractions, we also shipped Go-first operational capabilities in v0.12.0:
asaka.RuntimeWidget()&panel.DBPoolWidget(): Live Heap RAM, goroutines, GC pauses, andsql.DBStatsat 0 ms SQL cost.- Built-in
/health(JSON),/metrics(Prometheus), andServer-Timingheaders: Zero external APM agents required. - In-Process Cancellable Jobs (
panel.Jobs()): Goroutine background jobs with SSE progress and one-clickcontext.Contextcancellation (no Redis/Horizon needed on a $5 VPS). - O(1) Streaming CSV &
.sql.gzBackups: Directweb.Stream+compress/gzipstreaming with constant memory. - One-Command SQLite Admin:
asaka serve --sqlite=./app.dblaunches an instant SQLite admin UI in one command.
Try It Yourself
- Live Demo (10,000 PostgreSQL rows): demo.asakago.com/admin
- Asaka Core (MIT,
v0.12.0): github.com/qalainau/asaka - Docs & Guides: asakago.com/docs