Reference

@reckona/mreact-compat/internal

9 public exports.

Function

Function__setCacheScopeStorageForTestingfunction __setCacheScopeStorageForTesting(storage: AsyncLocalStorageLike<CacheScope> | undefined): voidInternal cache-scope and event-priority helpers used by compat integrations.FunctionbindSelectedKeyedSingleNodeListfunction bindSelectedKeyedSingleNodeList<T, TNode>(parent: ParentNode, marker: ChildNode, items: (): readonly T[], renderItem: (context: SelectedKeyedRowContext<T>): TNode, options: BindSelectedKeyedSingleNodeListOptions<T>): DisposeBinds compat compiler-generated keyed rows and updates only the selected row classes.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

InterfaceBindSelectedKeyedSingleNodeListOptionsinterface BindSelectedKeyedSingleNodeListOptionsInternal options used by compat compiler-generated selected keyed lists.InterfaceCacheScopeinterface CacheScopeCache scope that stores memoized cache() results and cancellation state.InterfaceSelectedKeyedRowContextinterface SelectedKeyedRowContextInternal row state used by compat compiler-generated keyed renderers.

Re-export

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