How is the model data passed when the dva framework connect

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.

clipboard.png


clipboard.png

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);
Jul.15,2021

my understanding
connect ((a) = > (a)) where a takes all the collections registered with model and returns a: {count: {record:0.}}
connect (( { count } ) = > ({count})) here is the parsing assignment method of es6, and the count data in the object is returned, count: {record:0.}

.
person = {age:14,name:"abc"};
let {age} = person;//age = 14
MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1b3de62-40959.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1b3de62-40959.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?