Getting started with #redux
▻https://hackernoon.com/getting-started-with-redux-aa37180dbe93?source=rss----3a8144eabfe3---4
ReduxI have worked on a couple of projects which had Redux, and i see there is a lot of confusion among people who are getting started. My opinion is if we understand “what problem is redux trying to solve” and “responsibilities of the core components of redux”, life will be easier. This post is my attempt on trying to explain these things.The Problem…SPAs(Single Page Applications) these days are pretty complex and they maintain a lot of state in the front end, e.g: api responses, cache data, state of the #ui widgets like spinners and progress bars, etc..Usually we have Models which hold the data and Views which render them. A View can update a single Model or multiple Models, a Model can update another Model and based on these Model changes Views get updated. Because of all these (...)