Model the State

  • Yiyi Sun


This chapter is a deep dive into the state concept of AppRun. The state is one of three main parts of the AppRun architecture. It plays an important role in the AppRun event lifecycle. It is equivalent to the mode of the Elm architecture. Elm defines the model as the application state. If fact, model and state are two names for the same thing. They are interchangeable in the AppRun architecture. Most of the time, we use the term state in AppRun.

Copyright information

© Yiyi Sun 2019

Authors and Affiliations

  • Yiyi Sun
    • 1
  1. 1.ThornhillCanada

Personalised recommendations