expo-drizzle-studio-plugin
v0.1.0
Published
A new DevTools plugin created by create-dev-plugin
Downloads
8,107
Readme
Drizzle Studio for Expo SQLite
Expo dev tools plugin for you to browse your Expo SQLite data with Drizzle Studio 🎉
Get Started
Add Expo SQLite to your project
Install expo-drizzle-studio-plugin
npm i expo-drizzle-studio-plugin
Setup Drizzle Studio plugin
import { useDrizzleStudio } from "expo-drizzle-studio-plugin";
import * as SQLite from "expo-sqlite";
import { View } from "react-native";
const db = SQLite.openDatabaseSync("db");
export default function App() {
useDrizzleStudio(db);
return <View></View>;
}
Run and Expo app on physical device, simulator or emulator which supports Expo SQLite. Web doesn't support SQLite.
npx expo start
Open devtools menu from the terminal with "start" process and choose expo-drizzle-studio-plugin
shift + m