UNPKG

state-in-url

Version:

Store state in URL as in object, types and structure are preserved, with TS validation. Same API as React.useState, wthout any hasssle or boilerplate. Next.js@14-15, react-router@6-7, and remix@2.

6 lines (5 loc) 139 B
export declare const SYMBOLS: { readonly date: "⏲"; readonly undefined: "∙undefined"; }; export declare const TIMEOUT: number;