Advanced
Once the basics are familiar, these pages deal with problems real modules run into.
| Topic | What it solves |
|---|---|
| Table rows and dom.repeat | Lists send data, not HTML: put one hidden template row on the page and have Linker clone it with the built-in dom.repeat action |
| Triggers and listeners | Which events trigger calls, debounce, several triggers on one element, confirmation, refetching on reconnect, listening to cg:* events |
| Action governance | The action table is a capability list: the Rust and JS tables, three checks, adding custom actions, review |
| Timing | Call queueing, rev and locks, state before pipeline, then/catch/always, the rescan order after rendering |
| Testing | Component parity tests, runtime protocol tests, integration tests for Linker components, in-memory SQLite |
| Syncing with the PHP project | What the sync script copies, when to run it, how to verify afterwards |
| Commands | The laravel CLI, cargo, npm, the wiki, and grep audits in place of linker:list |
| Rust API dictionary | The public types, functions and constants of cg_component and cg_component::runtime |
Appendix: Attribute cheat sheet.
Chapters the PHP version has and this one doesn't
The PHP wiki's "Table" and "Charts (amCharts)" pages document those two components; the Rust version hasn't ported them yet, so there are no matching pages. The browser JS (table.js, chart/) is already synced; to port them, follow Porting a new component.