IndexedDB Reactjs hook Install npm install idb-react-hook Usage const Home = () => { const {db} = useIndexdb('heroes', 1) ... }