as shown in the following figure, the last line here is written like this:
const HomePage = connect(({ count }) => ({ count }))(CountApp);
my understanding is that connect indicates that the count , the model data, is connected to the corresponding component.
but I changed the pass parameter casually, and it can still connect count to the component.
I"d like to ask you how to understand the parameters in connect here, and how it finds count data.
the weird thing is that I changed the way I wrote it, and it worked just as well:
const HomePage = connect( ({ count }) => ({ count }) )(CountApp);
const HomePage = connect( a => a )(CountApp);
