Skip to content

Latest commit

 

History

History
7 lines (5 loc) · 150 Bytes

README.md

File metadata and controls

7 lines (5 loc) · 150 Bytes

useIDBState

import useIDBState from "use-idb-state";

const [state, setState, loading] = useIDBState("myState", { foo: "bar" });