Redux Counter Examples

This project is just a collection of examples that use Redux in the back and different template frameworks in the front

What, why?

I like Redux. It's a very elegant solution to a common problem faced by javascript developers relating to state. And by state I mean the little bit of code that's in that little container.

Now one can say "well I can just create factories/services/blahs..." and that's totally cool too, but I believe consistency is the key to harmonious projects and rolling your own stuff all the time may not be everyone's bag.

So what is the problem?

I love javascript, but javascript has a problem, a problem with mutation of objects and arrays, for example:

const someObj = { a: 1, b: 2 }
const func = (obj) => obj.a = 3

func(someObj)
console.log(someObj) 

This will return Object {a: 3, b: 2}, even though someObj is a constant. I love javascript. So imagine having that in lots of places with lots and lots of data. All the fun, they said.

Fork me on GitHub