Looking at the following application,
is the selected tab part of the state?
Is the data that populates the chart part of the state of the application?
Are both data from the API and the selected tab part of the state?
You could think of Redux as a box.
The store is the core of the library and it wires the three principles up.
The store contains three methods:
here is an example using it: https://codesandbox.io/s/00o0lr67lp