|
|
|
|
|
by DaiPlusPlus
7 days ago
|
|
Credit where credit is due, though: ReactJS became #1 on its merits. ...yes, Redux (not React) deserves to be #1, but Redux isn't a complete, all-under-one-roof framework the way React is; but regardless of that: The Redux/React approach is just fundamentally a better design than what we had before: stateful-controls/widgets and two-way data-binding. If you'd like to relive how UI devs suffered throughout the 1990s, 2000s, and most of the 2010s I invite you to try making a native Windows 11 desktop UI using WinUI3 using the MVVM (anti-) pattern: nothing but mutable objects of indeterminable state getting caught in infinite-loops or unbound recursion due to INotifyPropertyChanged - and Microsoft is still pretending that's the "right" way to build a UI. Sorry am ranting on about something I have very little control over; it's just frustating. |
|
This is a rather perplexing statement to make.
If anything, Redux only plays a role in adding syntactic sugar over React's support for reactive programming.
More importantly, the general guidelines are that you should only bother with Redux if your SPA is already considerably complex.