An Elm Primer for React Developers
/
Part III: Building Real Applications
/
Chapter 9: Organizing Files and Modules
Chapter 9: Organizing Files and Modules
https://leanpub.com/elm-for-react-devs
Moving Beyond the Single-File Approach?
https://leanpub.com/elm-for-react-devs
JavaScript Pain Point I: “Sneaky Mutations”
https://leanpub.com/elm-for-react-devs
JavaScript Pain Point II: Refactoring is Hard and Quite Dangerous
https://leanpub.com/elm-for-react-devs
Elm is Different
https://leanpub.com/elm-for-react-devs
Let’s Build an Advent Calendar App
https://leanpub.com/elm-for-react-devs
Basic Advent Calendar Spec
https://leanpub.com/elm-for-react-devs
Starting Simple: The Mock Date Version
https://leanpub.com/elm-for-react-devs
Properly Typed Business Logic
https://leanpub.com/elm-for-react-devs
The View Layer
https://leanpub.com/elm-for-react-devs
Getting the Real Date: Enter Tasks
https://leanpub.com/elm-for-react-devs
What is a Task?
https://leanpub.com/elm-for-react-devs
The Changes We Made
https://leanpub.com/elm-for-react-devs
Building the Task
https://leanpub.com/elm-for-react-devs
The Result
https://leanpub.com/elm-for-react-devs
When to Split: Modules for Data Structures
https://leanpub.com/elm-for-react-devs
The Freedom of Safe Refactoring
https://leanpub.com/elm-for-react-devs
What We’ve Learned
https://leanpub.com/elm-for-react-devs
Up next
Chapter 10: Modules Around Data Structures
In this chapter
Chapter 9: Organizing Files and Modules
Moving Beyond the Single-File Approach?
Elm is Different
Let’s Build an Advent Calendar App
Basic Advent Calendar Spec
Starting Simple: The Mock Date Version
Getting the Real Date: Enter Tasks
When to Split: Modules for Data Structures
The Freedom of Safe Refactoring
What We’ve Learned