Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/michaelheckmann/dev-plugin-zustand
Expo dev tools plugin to inspect Zustand stores
https://github.com/michaelheckmann/dev-plugin-zustand
expo plugin zustand
Last synced: 9 days ago
JSON representation
Expo dev tools plugin to inspect Zustand stores
- Host: GitHub
- URL: https://github.com/michaelheckmann/dev-plugin-zustand
- Owner: michaelheckmann
- Created: 2024-02-11T08:29:41.000Z (11 months ago)
- Default Branch: main
- Last Pushed: 2024-03-18T17:37:22.000Z (9 months ago)
- Last Synced: 2024-12-07T21:48:08.993Z (15 days ago)
- Topics: expo, plugin, zustand
- Language: TypeScript
- Homepage: https://www.npmjs.com/package/dev-plugin-zustand
- Size: 192 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Expo Dev Plugin for Zustand
This is an [Expo Dev Tool Plugin](https://docs.expo.dev/debugging/devtools-plugins/) for inspecting and modifying (to be implemented) Zustand stores in your Expo app. It was created via the [create-dev-plugin](https://docs.expo.dev/debugging/create-devtools-plugins/) starter.
## Installation
```sh
npm install dev-plugin-zustand
```## Usage
```tsx
import { useZustandDevTools } from "dev-plugin-zustand";
import { useStore1 } from "./store1";export default function App() {
useZustandDevTools([
{
name: "store1",
store: useStore1,
},
]);return (
{
sendPing();
}}
/>
);
}
```