News for hackers. Stuff that matters.
Re:Electron is flash for the desktop (2016) by Sophistifunk on Tuesday April 11, 2017 @09:18PM (#14094024)
Redux and co are still the same pattern fundamentally, it's just that the implementing code is spread throughout your stack, instead of in an "Observable" implementation. That combined with an optimisation allowing identity and state equality to be conflated.
Re:Electron is flash for the desktop (2016) by mlsarecmg on Wednesday April 12, 2017 @03:32AM (#14095562)
I don't know what you're saying, this is the complete opposite. Redux was made to centralize, because observables are literally spread throughout the stack. The entire logic is combined in composeable containers, later wrapped in a single store. Flux pattern is also completely different in how it works, there's almost no similarity whatsoever.

http://iweave.com/assets/blog/mvc_v_flux.png

Re:Electron is flash for the desktop (2016) by Sophistifunk on Wednesday April 12, 2017 @08:46AM (#14097079)
Redux makes every single component check nextProps.foo !== this.props.foo, instead of just having them notified when it changes.
Re:Electron is flash for the desktop (2016) by mlsarecmg on Wednesday April 19, 2017 @06:43AM (#14146798)
That is the whole point of immutable state, and it is very effective because parent props are also notified through shallow checks, while observables have to bubble up and keep track of their relations.

You also seem to agree now that both are completely different.

Re:Electron is flash for the desktop (2016) by LeoNatan25 on Wednesday April 12, 2017 @06:31AM (#14096341)
That's not MVC. That's the MVC Facebook attempts to show in a ridiculous presentation that finally convinced me how much they had to misinform to get these silly concepts any legitimacy.
Re:Electron is flash for the desktop (2016) by mlsarecmg on Wednesday April 19, 2017 @06:44AM (#14146803)
That is exactly how a .NET WPF application worked, and that's also how MVC communicates in general. The flux pattern is very different from it.