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