mirror of
https://github.com/zoriya/v10.git
synced 2026-08-16 02:45:09 +00:00
refactor(store): queue simplification (#302)
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
import type { EnsureFunction } from '@videojs/utils/types';
|
||||
import type { Task } from '../../core/queue';
|
||||
import type { AnyStore, InferStoreRequests } from '../../core/store';
|
||||
import type { Task } from '../../core/task';
|
||||
import type { MutationResult } from '../../shared/types';
|
||||
|
||||
import { useCallback, useRef, useSyncExternalStore } from 'react';
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
import type { EnsureFunction } from '@videojs/utils/types';
|
||||
import type { Task } from '../../core/queue';
|
||||
import type { AnyStore, InferStoreRequests, InferStoreState } from '../../core/store';
|
||||
import type { Task } from '../../core/task';
|
||||
import type { OptimisticResult } from '../../shared/types';
|
||||
|
||||
import { useCallback, useReducer, useRef, useSyncExternalStore } from 'react';
|
||||
|
||||
Reference in New Issue
Block a user