Re:Ask HN: What is your favorite front end state management ...
by ogoparootbbo on Tuesday December 27, 2022 @08:39AM
(#34148474)
> Elm's state management paradigm was inspired by re-frame
Nope, it's the other way around
Re:Ask HN: What is your favorite front end state management ...
by frompdx on Thursday December 29, 2022 @09:26PM
(#34181045)
Designed in late 2014, it slightly pre-dates the official Elm Architecture, although thankfully we picked up foldp ideas from early Elm games
https://day8.github.io/re-frame/re-frame/#why-should-you-car...
Re:Ask HN: What is your favorite front end state management ...
by ogoparootbbo on Friday December 30, 2022 @04:28AM
(#34183441)
stated chronology doesn't imply inspiration
The cons are:
- A fair amount of work to make changes to the state side-effect free, but the documentation has a good tutorial on how to approach this.
- It's for ClojureScript, so it's a non-starter for organizations that will not consider anything outside of the mainstream.
I have also used Elm. If I recall correctly, Elm's state management paradigm was inspired by re-frame. I found writing JSON decoders in Elm to be demoralizing and tedious. Since the creator of the language was vehemently opposed to providing any real JSON support I decided to move to ClojureScript.