同问
开发者问题收集
如何使用 createSelector() 来记忆 useSelector()?
我希望在我的编程网站上解释 Redux 存储的记忆化。我现在在CodeSandbox上拥有:import { useCallback, useMemo, memo } from "react";import { useSelector, useDispatch } from "react-redux";import { createSelector } from "reselect";const
reactjs
redux
react-redux
memoization
reselect
2022-04-15
«
1
»