Skip to content

Comment on Building Bubbletea Programs

Comments

From point 1: how does the function returned from model.update confirm to (tea.Model, tea.Cmd)? Is that a typo?

Indeed a typo, well spotted, it should return the model as well.

AboutSource Built by g1lg1l

Hackerly is an independent reader for Hacker News, built on the public HN API. Not affiliated with Y Combinator.