Repository navigation
Commit c7c4a86
committed
docs: teach router mutations through actions, form actions as the add-on
The data page now starts mutations from a server function called inside a
core action (the mounted router applies its revalidation and redirect),
with optimistic writes and failures shown on that path. formAction follows
as the layer a <form> adds: the no-JavaScript URL, aria-busy,
useSubmissions, .onSubmit and .with().
Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
Claude-Session: https://claude.ai/code/session_01CLHVghj7oAvSMqnq9WRKdv1 parent 1f46b00 commit c7c4a86
7 files changed
Lines changed: 147 additions & 109 deletions
File tree
- src/routes
- (2)concepts
- (3)building-apps/(3)server-functions
- (4)routing/(1)solid-router
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
363 | 363 | | |
364 | 364 | | |
365 | 365 | | |
366 | | - | |
| 366 | + | |
367 | 367 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
223 | 223 | | |
224 | 224 | | |
225 | 225 | | |
226 | | - | |
| 226 | + | |
227 | 227 | | |
228 | 228 | | |
229 | 229 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
143 | 143 | | |
144 | 144 | | |
145 | 145 | | |
146 | | - | |
| 146 | + | |
147 | 147 | | |
148 | 148 | | |
149 | 149 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
235 | 235 | | |
236 | 236 | | |
237 | 237 | | |
238 | | - | |
| 238 | + | |
239 | 239 | | |
0 commit comments