Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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

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();
}}
/>

);
}
```