Re:A response to “An experienced JavaScript dev’s account of...
by pivotal on Monday April 24, 2017 @11:03AM
(#14184822)
I learned the unidirectional data flow pattern with flux before redux and redux makes flux look like war & peace! :P
The no frills way I like to think about redux is your rendered page is the result of a function operating on a state object. Changes to the state object trigger re-renders. There's obviously some subtleties in there and complex use cases, but that's the basic gist.
The no frills way I like to think about redux is your rendered page is the result of a function operating on a state object. Changes to the state object trigger re-renders. There's obviously some subtleties in there and complex use cases, but that's the basic gist.