~firefoxreact-appvite-appsrcredux
6 itemsDownload ./*

..
counter
hooks
mousePosition
windowSize
hooks.ts
store.ts


reduxhooks.ts
375 B• 6•  3 days ago•  DownloadRawClose
3 days ago•  6

{}
import { useDispatch, useSelector } from 'react-redux';
import type { TypedUseSelectorHook } from 'react-redux';
import type { RootState, AppDispatch } from './store';

// Use these hooks instead of plain `useDispatch` and `useSelector`
export const useAppDispatch: () => AppDispatch = useDispatch;
export const useAppSelector: TypedUseSelectorHook<RootState> = useSelector;

Top
©twily.info 2013 - 2025
twily at twily dot info



2 274 616 visits
... ^ v