Commit cc231f9
docs(claude): document Prefab DataTable mustache state-binding requirement
Adds a Known Pitfalls entry explaining why bare-string state references
(``rows="items"``) crash the JS renderer with ``t.some is not a function``
and how to use mustache form (``rows="{{ items }}"``) instead. Links to
the unit-test enforcement (``_assert_state_bindings_resolve``) and the
browser-render harness as the proof-it-works contracts.
Discovered during PR #634 investigation; was the root cause of #629
(blank iframe on ``modify_manufacturing_order`` 12-action plans).
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>1 parent 26cbd47 commit cc231f9
1 file changed
Lines changed: 16 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
280 | 280 | | |
281 | 281 | | |
282 | 282 | | |
| 283 | + | |
| 284 | + | |
| 285 | + | |
| 286 | + | |
| 287 | + | |
| 288 | + | |
| 289 | + | |
| 290 | + | |
| 291 | + | |
| 292 | + | |
| 293 | + | |
| 294 | + | |
| 295 | + | |
| 296 | + | |
| 297 | + | |
| 298 | + | |
283 | 299 | | |
284 | 300 | | |
285 | 301 | | |
| |||
0 commit comments