This commit is contained in:
2026-09-05 04:33:55 +05:30
commit 02a4264bc3
121 changed files with 7913 additions and 0 deletions
+21
View File
@@ -0,0 +1,21 @@
// Svelte SWR exports
export { default as useSWR, useSWRPrefetch } from './use-swr'
// Re-export core types
export type { Key, Fetcher } from '../../core'
// Main exports
export { createSWRStores, createSWRStore } from './swr'
export {
swrDataStore,
swrErrorStore,
swrLoadingStore,
swrValidatingStore,
useSWRInstance
} from './swr'
// Types
export type { SWRStores, SWRStore, SWRConfig } from './types'
// Default export
export { createSWRStores as default } from './swr'