# App Lifecycle URL: /milo-cli/docs/about/concepts/app-lifecycle/ Section: concepts Tags: about, lifecycle, app -------------------------------------------------------------------------------- A Milo app starts a store, reads terminal input, dispatches actions, renders a Kida template, and restores the terminal on exit. flowchart LR Start[Start App] --> Store[Create Store] Store --> Input[Read Input] Input --> Dispatch[Dispatch Action] Dispatch --> Reducer[Reducer] Reducer --> Render[Render Template] Render --> Input Reducer --> Effects[Schedule Sagas or Cmd] Effects --> Dispatch Dispatch --> Exit[Quit and Cleanup] Reducers decide state. Effects do work. The runtime owns terminal setup and cleanup. -------------------------------------------------------------------------------- Metadata: - Author: lbliii - Word Count: 73 - Reading Time: 1 minutes