react-sqlite-hook

JSON →
library 3.2.1 ·javascript
verified Jun 7, 2026

A React Hook wrapper around @Capacitor-community/sqlite, providing a simple interface for using SQLite databases in Capacitor-based mobile apps. Version 3.2.1 is the latest stable release, with active development and occasional minor updates. It simplifies database initialization, queries, and transactions inside React components using hooks like useSQLite. Key differentiators: fully typed with TypeScript, follows React best practices, and integrates seamlessly with Capacitor's lifecycle. Requires React 18+ and the Capacitor SQLite plugin.