Developer guides and architectural references for ProcessWire\React (Totoglu\React) and the optional ProcessReactWorkspace hub. Use this page to jump straight to the guide that matches what you are building.
Module README · API Reference · Architecture Overview
| If You Want To… | Start Here | Then Consult |
|---|---|---|
Build a dual-context admin module (Setup > <Module> & Admin > Workspace) |
02 — Workspaces, Dual-Context Shell & Themes | API.md §1–2 |
Add Tiptap, Media Studio, Relations, Vector Icons, Links, or SchemaForm fields |
03 — Inputfields, Forms & Rich Text | API.md §3–8 |
| Render interactive tables, cards, or custom data providers | 04 — Viewports & Data Providers | API.md §9 |
Bundle downstream TypeScript with @pw/react/*, add translations, or review security |
05 — Frontend Runtime, Typed SDK, i18n & Security | API.md §10 |
Understand internal architecture, build pipelines, CI gates, or contribute to React |
Architecture Overview | 01 — Deep-Dive · AGENTS.md |
| Guide | What You Will Learn |
|---|---|
| 02 — Workspaces, Dual-Context Shell & Themes | Building ProcessReact modules, collapsible Sidebar navigation, command search, optional ProcessReactWorkspace hub widgets, and theme presets. |
| 03 — Inputfields, Forms & Rich Text | Dual-mode InputfieldReact controls, SchemaForm serialization, Media Studio, relational pickers (M2O/M2M/O2M/M2A), vector icons, polymorphic links, and Tiptap v3 mini-blocks. |
| 04 — Viewports & Data Providers | Rendering MarkupReactTable and MarkupReactCards, plugging in custom view modes, implementing data provider contracts, and handling signed viewport actions. |
| 05 — Frontend Runtime, Typed SDK, i18n & Security | Multi-pass Vite bundle isolation, consuming @pw/react/* subpaths, Tailwind v4 delta CSS layers, 6-locale translation packs, and /_react/* gateway security. |
| Document | Audience & Focus |
|---|---|
| Architecture Overview | Fast architectural map of layering rules, shell contexts, build isolation, and security invariants. |
| 01 — Architecture & Technical Deep-Dive | Verified tech-stack inventory, entry points, command/CI verification matrix, C4 Mermaid diagrams, cross-cutting concerns, and architectural decision records (ADRs). |
flowchart TD
PW["ProcessWire Core 3.0.271+ & Inertia"] --> CORE["React Module ($wire->react)"]
CORE --> SHELL["Admin Shell (ProcessReact & Optional ProcessReactWorkspace)"]
CORE --> CTRL["15 Companion Modules (Viewports, Inputfields & Tiptap)"]
CORE --> HTTP["8 Authenticated /_react/* Gateways (CSRF + HMAC-SHA256)"]
CORE --> SDK["Isolated Client Runtime (dist/ Bundles & @pw/react/* SDK)"]
Each file in site/modules/React/ has a single responsibility to prevent duplication:
| Artifact | Audience | Role |
|---|---|---|
| README.md | Developers evaluating or installing React |
Quick-start overview, installation, companion catalog, and configuration table. |
| API.md | Developers looking up exact contracts | Canonical PHP signatures, service accessors, constants, and dist/ bundle inventory. |
| AGENTS.md | Contributors & coding agents editing React |
Internal architecture invariants, layering boundaries, and build/test rules. |
| pw-react/SKILL.md | Coding agents building on top of React |
Task-oriented playbook for downstream ProcessWire modules. |