1 min readAug 15, 2016
i use static methods to keep semantic against the implementation, check this https://medium.com/@dabit3/getting-up-to-speed-with-es6-classes-2382ef3efb9c#.lkarf86nc and for the reducer, check the third case… notice how the state is partially updated, both approaches i took fit for the purpose, thank you!