My frustrations writing demos/tests for redux-react connected components
I'm writing demos for my React components, to showcase them in a specific states (e.g. Storybook).
However, the components I'm trying to write demos for are React Redux connected components, and this is making the demos much more difficult to achieve. To illustrate why, I'll start with an example.
Note: the problems I describe here also apply to writing tests (which demos are just one form of).