Reference

@reckona/mreact-compat/internal

5 public exports.

Function

FunctioncreateCacheScopefunction createCacheScope(): CacheScopeInternal cache-scope and event-priority helpers used by compat integrations.FunctionrefreshCacheScopefunction refreshCacheScope(scope: CacheScope): voidInternal cache-scope and event-priority helpers used by compat integrations.FunctionrunWithCacheScopefunction runWithCacheScope<T>(scope: CacheScope, callback: (): T): TInternal cache-scope and event-priority helpers used by compat integrations.

Interface

InterfaceCacheScopeinterface CacheScopeCache scope that stores memoized cache() results and cancellation state.

Re-export

Re-exportrunWithEventPriorityconst runWithEventPriority: unknownInternal cache-scope and event-priority helpers used by compat integrations.