| Elm architecture, tea.Cmd as data | references/elm-architecture.md | | Model state, message handling | references/model-update.md | | View rendering, Lipgloss styling | references/view-styling.md | | Component composition, Huh forms | references/composition.md | | Bubbles components (list, table, etc.) | references/bubbles-components.md |
Read elm-architecture.md first! The most common review mistake is flagging correct patterns as bugs.
| return m, m.loadData() | tea.Cmd is returned immediately; runtime executes async | | Value receiver on Update() | Standard BubbleTea pattern; model returned by value | | Nested m.child, cmd = m.child.Update(msg) | Normal component composition | | Helper functions returning tea.Cmd | Creates command descriptor, no I/O in Update |
Rivedi il codice TUI BubbleTea per la corretta architettura Elm, i modelli di modello/aggiornamento/visualizzazione e lo stile Lipgloss. Da utilizzare durante la revisione del codice dell'interfaccia utente del terminale utilizzando charmbracelet/bubbletea. Fonte: existential-birds/beagle.