0.0.3 • Published 1 year ago
dev-plugin-zustand v0.0.3
Expo Dev Plugin for Zustand
This is an Expo Dev Tool Plugin for inspecting and modifying (to be implemented) Zustand stores in your Expo app. It was created via the create-dev-plugin starter.
Installation
npm install dev-plugin-zustand
Usage
import { useZustandDevTools } from "dev-plugin-zustand";
import { useStore1 } from "./store1";
export default function App() {
useZustandDevTools([
{
name: "store1",
store: useStore1,
},
]);
return (
<View style={styles.container}>
<Button
title="Ping"
onPress={() => {
sendPing();
}}
/>
</View>
);
}