Const
Pre-typed useSelector hook bound to the renderer's RootState. Lets selector callbacks be written as (state: RootState) => ... without casting. Use everywhere instead of importing useSelector from react-redux directly.
useSelector
RootState
(state: RootState) => ...
react-redux
Pre-typed
useSelectorhook bound to the renderer'sRootState. Lets selector callbacks be written as(state: RootState) => ...without casting. Use everywhere instead of importinguseSelectorfromreact-reduxdirectly.