News for hackers. Stuff that matters.
Re:Mint-lang: a language for the front-end web by jadbox on Saturday May 26, 2018 @10:16AM (#17162138)
mobx-state-tree is really neat and feels like the next step beyond redux. Not having to create explicit event names and 'action dispatchers' is a real boon to DRY. The only issue I've had is more to do with typescript and using mobx-state-tree plus react router... the type definitions and type error messages can get rather confusing to debug.
Re:Mint-lang: a language for the front-end web by gunn on Saturday May 26, 2018 @02:28PM (#17163552)
You might like my library - no actions or reducers, and great typescript support. You just use regular JS to manipulate data and the library updates the store immutably.

https://github.com/gunn/pure-store

Re:Mint-lang: a language for the front-end web by mieseratte on Saturday May 26, 2018 @10:58AM (#17162381)
> Not having to create explicit event names and 'action dispatchers' is a real boon to DRY.

What about an action creator / reducer isn't dry?

Re:Mint-lang: a language for the front-end web by nightski on Sunday May 27, 2018 @09:35AM (#17166827)
You have the name of the action and the name of the action creator which essentially represent the same thing. I've never seen a project which had multiple creators for the same action name.
Re:Mint-lang: a language for the front-end web by negativ0 on Saturday May 26, 2018 @07:33PM (#17164752)
in redux there's so much repetition that most of the time you do copy->paste->find&replace entity name.