An Elm Primer for React Developers
/
Part II: The Outside World: Randomness, APIs, and JavaScript
/
Chapter 5: Commands and Randomness
Chapter 5: Commands and Randomness
https://leanpub.com/elm-for-react-devs
Upgrading from Browser.sandbox to Browser.element
https://leanpub.com/elm-for-react-devs
Step 1: The Mechanical Refactor
https://leanpub.com/elm-for-react-devs
The Cmd Type and How It Works
https://leanpub.com/elm-for-react-devs
Adding Randomness to the LGTM Generator
https://leanpub.com/elm-for-react-devs
Building a Random Generator
https://leanpub.com/elm-for-react-devs
Adding a New Message
https://leanpub.com/elm-for-react-devs
Using Random.generate
https://leanpub.com/elm-for-react-devs
The Complete Picture
https://leanpub.com/elm-for-react-devs
What You Just Learned
https://leanpub.com/elm-for-react-devs
What This Means in Practice
https://leanpub.com/elm-for-react-devs
Up next
Chapter 6: HTTP and Remote Data
In this chapter
Chapter 5: Commands and Randomness
Upgrading from Browser.sandbox to Browser.element
The Cmd Type and How It Works
Adding Randomness to the LGTM Generator
What You Just Learned