26 lines
942 B
TypeScript
26 lines
942 B
TypeScript
|
|
/**
|
||
|
|
* ============================================================================
|
||
|
|
* SHARED VIRTUALIZATION LAYER - MIGRATION GUIDE
|
||
|
|
* ============================================================================
|
||
|
|
*
|
||
|
|
* The virtualization API has been refactored to use Svelte 5 store pattern.
|
||
|
|
*
|
||
|
|
* Migration:
|
||
|
|
* - Component moved: src/shared/virtual/FontVirtualList.svelte → src/shared/ui/VirtualList.svelte
|
||
|
|
* - Hook removed: src/shared/virtual/useVirtualList.ts → src/shared/store/createVirtualizerStore.ts
|
||
|
|
* - Pattern changed: Hook pattern → Store pattern (more Svelte-idiomatic)
|
||
|
|
*
|
||
|
|
* New Imports:
|
||
|
|
* ```ts
|
||
|
|
* import { VirtualList } from '$shared/ui';
|
||
|
|
* import { createVirtualizerStore } from '$shared/store';
|
||
|
|
* ```
|
||
|
|
*
|
||
|
|
* Old Imports (deprecated):
|
||
|
|
* ```ts
|
||
|
|
* import { useVirtualList, FontVirtualList } from '$shared/virtual';
|
||
|
|
* ```
|
||
|
|
*
|
||
|
|
* See src/shared/virtual/README.md for detailed usage examples and API documentation.
|
||
|
|
*/
|