An Elm Primer for React Developers
/
Part I: From React to Elm: Getting Started
/
Chapter 2: The Elm Architecture – A Recipe for Reliable Apps
Chapter 2: The Elm Architecture – A Recipe for Reliable Apps
https://leanpub.com/elm-for-react-devs
The Recipe: Four Simple Ingredients
https://leanpub.com/elm-for-react-devs
Ingredient 1: Model - Your State Shape
https://leanpub.com/elm-for-react-devs
Ingredient 2: Msg - Things That Can Happen
https://leanpub.com/elm-for-react-devs
Ingredient 3: update - How State Changes
https://leanpub.com/elm-for-react-devs
Ingredient 4: view - Rendering Your State
https://leanpub.com/elm-for-react-devs
Putting It All Together: Counter with Undo
https://leanpub.com/elm-for-react-devs
Messages Describe All Possible Actions
https://leanpub.com/elm-for-react-devs
Update Handles Each Case Explicitly
https://leanpub.com/elm-for-react-devs
View Renders Based on Model
https://leanpub.com/elm-for-react-devs
The Elm Runtime Loop
https://leanpub.com/elm-for-react-devs
What React Developers Already Know
https://leanpub.com/elm-for-react-devs
What Makes TEA Different
https://leanpub.com/elm-for-react-devs
The Price of Explicitness
https://leanpub.com/elm-for-react-devs
What You Just Learned (The FP Hiding in Plain Sight)
https://leanpub.com/elm-for-react-devs
What’s Next
https://leanpub.com/elm-for-react-devs
Up next
Chapter 3: Your First Elm App
In this chapter
Chapter 2: The Elm Architecture – A Recipe for Reliable Apps
The Recipe: Four Simple Ingredients
Ingredient 1: Model - Your State Shape
Ingredient 2: Msg - Things That Can Happen
Ingredient 3: update - How State Changes
Ingredient 4: view - Rendering Your State
Putting It All Together: Counter with Undo
The Elm Runtime Loop
What React Developers Already Know
What Makes TEA Different
The Price of Explicitness
What You Just Learned (The FP Hiding in Plain Sight)
What’s Next