forked from Mirrors/bubbletea
Github's Markdown support doesn't include definition lists, I see
This commit is contained in:
parent
e4243bdede
commit
6c607aa3ae
|
@ -33,12 +33,9 @@ import will be the Bubble Tea, library, which we'll call `tea` for short.
|
||||||
Bubble Tea programs are comprised of a model that describes the application
|
Bubble Tea programs are comprised of a model that describes the application
|
||||||
state and three simple functions that are centered around the model:
|
state and three simple functions that are centered around the model:
|
||||||
|
|
||||||
Initialize
|
* **Initialize**, a function that returns the model's initial state.
|
||||||
: A function that returns the model's initial state.
|
* **Update**, a function that handles incoming events and updates the model accordingly.
|
||||||
Update
|
* **View**, a function that renders the UI based on the data in the model.
|
||||||
: A function that handles incoming events and updates the model accordingly.
|
|
||||||
View
|
|
||||||
: A function that renders the UI based on the data in the model.
|
|
||||||
|
|
||||||
## The Model
|
## The Model
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue