UNPKG

next-shared-state

Version:

Enhanced state sharing for Next.js with IndexedDB persistence and URL data transfer between pages and components.

7 lines (6 loc) 229 B
export declare class URLTransfer { static encode(data: any): string; static decode(encoded: string): any; static createTransferURL(path: string, data: Record<string, any>): string; static extractFromURL(): any; }