import { shallow } from 'zustand/shallow';
import useStore from '@/src/store/store';
// 複数同時取得
const slideState = useStore(
(state) => ({
pageNumber: state.pageNumber,
movePrevPage: state.movePrevPage,
moveNextPage: state.moveNextPage,
moveToPage: state.moveToPage,
setPageTotalNumber: state.setPageTotalNumber,
}),
shallow
);
// 一つ取得
const users = useStore((state) => state.users);
-
Notifications
You must be signed in to change notification settings - Fork 0
tosaken1116/Tyranno_front
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published