News for hackers. Stuff that matters.
Re:The Simplest React Stack – Part 1: Bootstrapping and Stat... by girvo on Thursday August 31, 2017 @03:39AM (#15138771)
Yeah, especially if you combine that idea with Flow/TypeScript or Reason. In fact that's why Redux isn't really used in Reason very much, with algorithmic data types, exhaustive pattern matching and all the power of OCaml you don't need it!

I enjoy the simplicity of it so much that I've now entirely adopted Elm -- type safety, super simple but powerful, and completely based on uni directional data flow with a compiler that is the most helpful I've ever used all wrapped up in the same State -> View function hierarchy that I adore in React.

Re:The Simplest React Stack – Part 1: Bootstrapping and Stat... by uryga on Thursday August 31, 2017 @08:24AM (#15139775)
You probably meant "algebraic data types" :)
Re:The Simplest React Stack – Part 1: Bootstrapping and Stat... by girvo on Thursday August 31, 2017 @09:03PM (#15145353)
I most definitely did :) remind me not to type while still half asleep!