Every time you write an app you have some state. Whether it's explicit or implicit and hidden behind a framework. In case of Redux the "state" is a linear list of sequential one single values. Every action modifies the whole state and produces new state. This makes the unit testing trivial and very simple.
3
u/1xltP3mgkiF9 Jun 10 '16
Every time you write an app you have some state. Whether it's explicit or implicit and hidden behind a framework. In case of Redux the "state" is a linear list of sequential one single values. Every action modifies the whole state and produces new state. This makes the unit testing trivial and very simple.