-
-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
105 changed files
with
830 additions
and
2,110 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
export * as XSWR from "./mods"; | ||
export * as XSWR from "./mods/index.js"; |
Large diffs are not rendered by default.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
export * from "./abort"; | ||
export * from "./abort.js"; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,8 @@ | ||
export * from "./core"; | ||
export * from "./errors"; | ||
export * from "./react"; | ||
export * from "./scroll"; | ||
export * from "./single"; | ||
export * from "./storages"; | ||
export * from "./types"; | ||
export * from "./utils"; | ||
export * from "./core.js"; | ||
export * from "./errors/index.js"; | ||
export * from "./react/index.js"; | ||
export * from "./scroll/index.js"; | ||
export * from "./single/index.js"; | ||
export * from "./storages/index.js"; | ||
export * from "./types/index.js"; | ||
export * from "./utils/index.js"; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
export * from "./core"; | ||
export * from "./core.js"; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,10 @@ | ||
export * from "./use-debug"; | ||
export * from "./use-error"; | ||
export * from "./use-fallback"; | ||
export * from "./use-fetch"; | ||
export * from "./use-interval"; | ||
export * from "./use-mount"; | ||
export * from "./use-once"; | ||
export * from "./use-online"; | ||
export * from "./use-retry"; | ||
export * from "./use-visible"; | ||
export * from "./use-debug.js"; | ||
export * from "./use-error.js"; | ||
export * from "./use-fallback.js"; | ||
export * from "./use-fetch.js"; | ||
export * from "./use-interval.js"; | ||
export * from "./use-mount.js"; | ||
export * from "./use-once.js"; | ||
export * from "./use-online.js"; | ||
export * from "./use-retry.js"; | ||
export * from "./use-visible.js"; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
export * from "./handle"; | ||
export * from "./router"; | ||
export * from "./scroll"; | ||
export * from "./single"; | ||
export * from "./handle.js"; | ||
export * from "./router.js"; | ||
export * from "./scroll.js"; | ||
export * from "./single.js"; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
import { ScrollSchema } from "../../../scroll"; | ||
import { SingleSchema } from "../../../single"; | ||
import { ScrollSchema } from "../../../scroll/schema.js"; | ||
import { SingleSchema } from "../../../single/schema.js"; | ||
import { DependencyList } from "react"; | ||
import { ScrollHandle } from "./scroll"; | ||
import { SingleHandle } from "./single"; | ||
import { ScrollHandle } from "./scroll.js"; | ||
import { SingleHandle } from "./single.js"; | ||
export declare function use<D = any, E = any, K = any, L extends DependencyList = []>(factory: (...deps: L) => SingleSchema<D, E, K>, deps: L): SingleHandle<D, E, K>; | ||
export declare function use<D = any, E = any, K = any, L extends DependencyList = []>(factory: (...deps: L) => ScrollSchema<D, E, K>, deps: L): ScrollHandle<D, E, K>; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
export * from "./blocks"; | ||
export * from "./handles"; | ||
export * from "./xswr"; | ||
export * from "./blocks/index.js"; | ||
export * from "./handles/index.js"; | ||
export * from "./xswr.js"; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
import { Object } from "../../types/object"; | ||
import { Schema } from "../../types/schema"; | ||
import { Object } from "../../types/object.js"; | ||
import { Schema } from "../../types/schema.js"; | ||
export declare type Maker = <D = any, E = any, K = any, O extends Object<D, E, K> = Object<D, E, K>>(schema: Schema<D, E, K, O>) => O; | ||
export declare function useXSWR(): { | ||
core: import("../../core").Core; | ||
core: import("../../core.js").Core; | ||
make: Maker; | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
export * from "./contexts"; | ||
export * from "./hooks"; | ||
export * from "./contexts/index.js"; | ||
export * from "./hooks/index.js"; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
export * from "./helper"; | ||
export * from "./object"; | ||
export * from "./schema"; | ||
export * from "./helper.js"; | ||
export * from "./object.js"; | ||
export * from "./schema.js"; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
export * from "./helper"; | ||
export * from "./object"; | ||
export * from "./schema"; | ||
export * from "./helper.js"; | ||
export * from "./object.js"; | ||
export * from "./schema.js"; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
export * from "./async"; | ||
export * from "./async.js"; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
export * from "./idb"; | ||
export * from "./localStorage"; | ||
export * from "./idb/index.js"; | ||
export * from "./localStorage/index.js"; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
export * from "./async"; | ||
export * from "./sync"; | ||
export * from "./async.js"; | ||
export * from "./sync.js"; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,11 @@ | ||
export * from "./fetcher"; | ||
export * from "./normalizer"; | ||
export * from "./object"; | ||
export * from "./params"; | ||
export * from "./result"; | ||
export * from "./schema"; | ||
export * from "./scroller"; | ||
export * from "./serializer"; | ||
export * from "./state"; | ||
export * from "./storage"; | ||
export * from "./updater"; | ||
export * from "./fetcher.js"; | ||
export * from "./normalizer.js"; | ||
export * from "./object.js"; | ||
export * from "./params.js"; | ||
export * from "./result.js"; | ||
export * from "./schema.js"; | ||
export * from "./scroller.js"; | ||
export * from "./serializer.js"; | ||
export * from "./state.js"; | ||
export * from "./storage.js"; | ||
export * from "./updater.js"; |
Oops, something went wrong.