feat(infrastructure): add pagination, cache, and sync infrastructure
- Add pagination infrastructure with usePagination and usePaginationManager hooks - Add connection state management hook for network status tracking - Add media caching infrastructure with useMediaCache hook - Add differential message synchronization infrastructure - Export new hooks from central index file - Remove backup file MainNavigator.tsx.bak
This commit is contained in:
@@ -71,3 +71,24 @@ export {
|
||||
prefetchMessageScreen,
|
||||
prefetchHomeScreen,
|
||||
} from './usePrefetch';
|
||||
|
||||
// ==================== 分页 Hooks ====================
|
||||
export {
|
||||
usePagination,
|
||||
usePaginationManager,
|
||||
} from './usePagination';
|
||||
|
||||
export type {
|
||||
UsePaginationOptions,
|
||||
UsePaginationReturn,
|
||||
} from './usePagination';
|
||||
|
||||
// ==================== 连接状态 Hooks ====================
|
||||
export { useConnectionState } from './useConnectionState';
|
||||
|
||||
export type { UseConnectionStateResult } from './useConnectionState';
|
||||
|
||||
// ==================== 媒体缓存 Hooks ====================
|
||||
export { useMediaCache } from './useMediaCache';
|
||||
|
||||
export type { UseMediaCacheReturn } from './useMediaCache';
|
||||
|
||||
Reference in New Issue
Block a user