News for hackers. Stuff that matters.
Re:Why we chose Vue.js over React by jolux on Sunday December 11, 2016 @02:36PM (#13152712)
Redux core is like less than 60 LoC. It can't possibly be more complex.
Re:Why we chose Vue.js over React by cocktailpeanuts on Sunday December 11, 2016 @02:56PM (#13152820)
Except it is. I have worked on a couple of react/redux production projects and they all work well, but I still think redux is way too convoluted for most use cases. Too many abstract concepts.

Also their naming of the features could have been better. For example "reducer" makes sense ONLY after you understand what's going on. It should be the other way around--the naming should be intuitive enough to actually help me understand the concept easier.

A lot of physics theories are distilled down to a single equation, but that doesn't mean it's simple concept to understand. I personally think a library with 10000 lines of code that operate using setters and getters is much more simple to understand than a library with 100 lines of code that has all these esoteric concepts.

Re:Why we chose Vue.js over React by spion on Sunday December 11, 2016 @04:35PM (#13153431)
Without the decorator sugar, the core algorithm of MobX is also 60 LOC.

The author goes through it line by line here:

https://youtu.be/TfxfRkNCnmk?t=15m59s

It looked "magical" and tripped up my "too good to be true and I'll have problems later" sensor. Then I looked at that video and realised the idea is rather simple and brilliant.