Skip to content

Commit

Permalink
Merge branch 'main' into docs/update-contributing
Browse files Browse the repository at this point in the history
  • Loading branch information
sukvvon authored Jan 30, 2025
2 parents be226b4 + bc3e94e commit 99c180e
Show file tree
Hide file tree
Showing 5 changed files with 106 additions and 86 deletions.
1 change: 0 additions & 1 deletion .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@ jobs:
registry-url: 'https://registry.npmjs.org'
cache: 'pnpm'
- run: pnpm install
- run: pnpm test
- run: pnpm build
- run: npm publish
env:
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -381,8 +381,8 @@ import { devtools } from 'zustand/middleware'
const usePlainStore1 = create(devtools((set) => ..., { name, store: storeName1 }))
const usePlainStore2 = create(devtools((set) => ..., { name, store: storeName2 }))
// Usage with a redux store, it will log full action types
const useReduxStore = create(devtools(redux(reducer, initialState)), , { name, store: storeName3 })
const useReduxStore = create(devtools(redux(reducer, initialState)), , { name, store: storeName4 })
const useReduxStore = create(devtools(redux(reducer, initialState)), { name, store: storeName3 })
const useReduxStore = create(devtools(redux(reducer, initialState)), { name, store: storeName4 })
```
Assigning different connection names will separate stores in redux devtools. This also helps group different stores into separate redux devtools connections.
Expand Down
Loading

0 comments on commit 99c180e

Please sign in to comment.