Skip to content

Commit

Permalink
revert #30
Browse files Browse the repository at this point in the history
  • Loading branch information
dai-shi committed Sep 28, 2024
1 parent a0bd331 commit 49fde1d
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions docs/getting-started/01_introduction.md
Original file line number Diff line number Diff line change
Expand Up @@ -59,8 +59,6 @@ By utilizing `create` from Zustand, you can combine these slices into a single s
const useCountStore = create(withSlices(countSlice, textSlice));
```

> 💡 **Note:** Actions with the same name across slices are merged into a single action in the combined store. Calling such an action executes the corresponding actions from each slice. For example, since both slices have a `reset` action, calling `reset` will reset both `count` and `text` to their initial values.
### Easily utilize it in your components

Finally, you can seamlessly integrate and access your store directly into your component logic utilizing the `useCountStore` hook.
Expand Down

0 comments on commit 49fde1d

Please sign in to comment.