News for hackers. Stuff that matters.
Re:Angular 9.0 by npmn on Friday February 07, 2020 @03:14AM (#22264086)
People who despice react because of redux(Boilerplate) should try mobx.
Re:Angular 9.0 by s_y_n_t_a_x on Friday February 07, 2020 @04:22AM (#22264391)
Or you know, use Redux because the boilerplate is gone... https://redux-toolkit.js.org/

You don't have to create actions or constants anymore, you just create your reducer functions and selectors, then use hooks to select and dispatch in your components.

Never got why people took up a completely different paradigm just because they couldn't figure out how to reduce their boilerplate...

Re:Angular 9.0 by kls on Friday February 07, 2020 @08:44AM (#22265839)
Or use XState as Redux is only a half implementation of a state machine. It get's the job done but a state machine gives you far more structure and comprehensibility around state management.

https://github.com/davidkpiano/xstate

Re:Angular 9.0 by s_y_n_t_a_x on Friday February 07, 2020 @10:39AM (#22266969)
Which is great because you don't need a full state machine.

React can be that other half...