# Elm for Redux Devs Guide

**URL:** https://discourse.elm-lang.org/t/elm-for-redux-devs-guide/2881
**Category:** Show and Tell
**Created:** [January 4, 2019, 6:46pm UTC](https://discourse.elm-lang.org/t/elm-for-redux-devs-guide/2881 "2019-01-04T18:46:59Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![dillonkearns](https://yyz1.discourse-cdn.com/flex035/user_avatar/discourse.elm-lang.org/dillonkearns/32/1587_2.png) [@dillonkearns](https://discourse.elm-lang.org/u/dillonkearns)
#### Post date: [January 4, 2019, 6:46pm UTC](https://discourse.elm-lang.org/t/elm-for-redux-devs-guide/2881/1 "2019-01-04T18:46:59Z")

</div>

Happy New Year all! I wrote a beginners guide to Elm for Redux Devs. I hope it’s useful! Please share with your Redux buddies 🙂 I’ll be writing more in the series, so feedback is appreciated.

> **[The Redux Pattern As a First-Class Citizen – Elm for Redux Devs ⚛ =\> 🌳 – Medium](https://medium.com/elm-for-redux-devs/the-redux-pattern-as-a-first-class-citizen-b1d7fa1e4438)**
>
> A Redux Developer’s Guide to Elm Basics

---

<div class="post-metadata">

### Author: ![fizwidget](https://yyz1.discourse-cdn.com/flex035/user_avatar/discourse.elm-lang.org/fizwidget/32/920_2.png) [@fizwidget](https://discourse.elm-lang.org/u/fizwidget)
#### Post date: [January 4, 2019, 9:22pm UTC](https://discourse.elm-lang.org/t/elm-for-redux-devs-guide/2881/2 "2019-01-04T21:22:38Z")

</div>

This is great! 🙂

It’s really clear and well written, and does a good job of highlighting the differences. I’m glad you addressed the React community’s “Redux is an anti-pattern” sentiment - you’re clearly familiar with what’s going on in both communities 👌

One small bit of feedback: in the Redux examples `state` is a number, but in the Elm examples `model` is a record containing a `count` attribute. This feels a little inconsistent - perhaps the Elm model should simply be of type `Int`, or alternatively the Redux state should be an object? The current approach necessitates using record-update syntax in the Elm code (but object spreading isn’t needed in the equivalent JavaScript). This makes the Elm example look a little more complex than the JavaScript one.

---

<div class="post-metadata">

### Author: ![dillonkearns](https://yyz1.discourse-cdn.com/flex035/user_avatar/discourse.elm-lang.org/dillonkearns/32/1587_2.png) [@dillonkearns](https://discourse.elm-lang.org/u/dillonkearns)
#### Post date: [January 4, 2019, 9:26pm UTC](https://discourse.elm-lang.org/t/elm-for-redux-devs-guide/2881/3 "2019-01-04T21:26:52Z")

</div>

@fizwidget thank you so much, this feedback is very helpful! 👍 And thanks for the kind words, I’m glad you found it to be clear!

> [@fizwidget](#):
>
> The current approach necessitates using record-update syntax in the Elm code (but object spreading isn’t needed in the equivalent JavaScript). This makes the Elm example look a little more complex than the JavaScript one.

Fantastic point, I’ll iron that out. Thank you for taking the time to share your thoughts!

---

<div class="post-metadata">

### Author: ![system](https://canada1.discourse-cdn.com/flex035/uploads/elm_lang/original/1X/50a05e53677a2c3b47776d7abd0f113eb50193a1.png) [@system](https://discourse.elm-lang.org/u/system)
#### Post date: [January 14, 2019, 9:26pm UTC](https://discourse.elm-lang.org/t/elm-for-redux-devs-guide/2881/4 "2019-01-14T21:26:58Z")

</div>

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.
