Skip to content

Commit 5c3dda4

Browse files
add comments reduxjs#2
1 parent 976c59a commit 5c3dda4

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/components/connectAdvanced.js

+1
Original file line numberDiff line numberDiff line change
@@ -160,6 +160,7 @@ export default function connectAdvanced(
160160
const usePureOnlyMemo = pure ? useMemo : callback => callback()
161161

162162
function ConnectFunction(props) {
163+
// 这里的useMemo
163164
const [propsContext, forwardedRef, wrapperProps] = useMemo(() => {
164165
// Distinguish between actual "data" props that were passed to the wrapper component,
165166
// and values needed to control behavior (forwarded refs, alternate context instances).

0 commit comments

Comments
 (0)