Package Exports
- @mj-studio/reactotron-plugin-zustand
- @mj-studio/reactotron-plugin-zustand/dist/index.js
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@mj-studio/reactotron-plugin-zustand) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
reactotron-plugin-zustand
Plugin to monitor states from zustand.
Install
npm i -D reactotron-plugin-zustand
Setup
Go to file "Reactotron.config.ts" or your config reactotron from project, is similar to this file:
import reactotronZustand from 'reactotron-plugin-zustand';
Reactotron.configure({ name: 'Project name' })
.use(
//add this line 🙌
reactotronZustand({ stores: [{ name: 'auth', store: useAuth }] })
)
.connect();
Usage
Install Reactotron Client and add your store observer, using the example "auth"
or all states using: "*"
.

Updates V2
- Enable snapshot functions
- Code improvements