javascript tutorial - [Solved-3 Solutions] Redux - javascript - java script - javascript array


Why use Redux over Facebook Flux?

Solution 1:

Redux is not that different from Flux. Overall it has same architecture, but Redux is able to cut some complexity corners by using functional composition where Flux uses callback registration

Solution 2:

  • Handling optimistic updates
  • Rendering on the server
  • Fetching data before performing route transitions
  • Undo/Redo functionality

Solution 3:

it's hard to separate the data for different requests on the server. Not impossible, but hard. This is why most Flux libraries (as well as the new Flux Utils) now suggest you use classes instead of singletons, so you can instantiate stores per request.

Related Searches to javascript tutorial - Redux