Monday, April 17, 2017

Path to choosing Redux


  • If the application is simple it is better to choose vanilla javascript
  • If the application needs to do ajax calls and DOM manipulation then we use JQuery

  • If the application is more complex an there are more components then we choose React. We can easily handle each component
  • If we are using react and we end up having more complex data flow then we choose React+ Redux


Valid reasons to choose Redux

    • Complex data flow
    • Inter-Component communication
    • Non-hierarchical data
    • Many actions
    • Same data use across multiple reasons



No comments:

Post a Comment