2.0.3 • Published 2 months ago

reactotron-plugin-zustand v2.0.3

Weekly downloads
-
License
MIT
Repository
github
Last release
2 months ago

reactotron-plugin-zustand

Plugin to monitor states from zustand.

npm.io npm.io npm.io npm.io

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
2.0.3

2 months ago

2.0.2

2 months ago

2.0.1

4 months ago

2.0.0

4 months ago

1.0.3

8 months ago

1.0.2

8 months ago

1.0.1

8 months ago

1.0.0

8 months ago