0.0.3 • Published 1 year ago

dev-plugin-zustand v0.0.3

Weekly downloads
-
License
MIT
Repository
-
Last release
1 year ago

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>
  );
}
0.0.3

1 year ago

0.0.2

1 year ago

0.0.1

1 year ago