A few weeks ago, I announced I’m writing a book about Elm for React developers. The response has been encouraging, so here’s a full chapter from the book, showing what The Elm Architecture looks like in practice—side-by-side with React.

(The formatting is slightly nicer in the actual book, but Hugo does a decent job as well.)

I’ve currently finished the introduction (published here) and chapters 1-6. I don’t plan on adding all, and not in sequence, but some of it will appear on this blog.

What follows is Chapter 2:


In the introduction, we explored why Elm’s constraints enable freedom from bugs. We…

Similar Posts

Loading similar posts...

Keyboard Shortcuts

Navigation
Next / previous item
j/k
Open post
oorEnter
Preview post
v
Post Actions
Love post
a
Like post
l
Dislike post
d
Undo reaction
u
Recommendations
Add interest / feed
Enter
Not interested
x
Go to
Home
gh
Interests
gi
Feeds
gf
Likes
gl
History
gy
Changelog
gc
Settings
gs
Browse
gb
Search
/
General
Show this help
?
Submit feedback
!
Close modal / unfocus
Esc

Press ? anytime to show this help