-
-
Notifications
You must be signed in to change notification settings - Fork 28
Open
Description
Hi, I am just starting to work with zundo and I was wondering is it possible to have zundo with multiple store slices, but to wrap only one slice in temporal? Let's say for example I want to wrapt cats slice with temporal, but I don't want to wrap dogs slice. In official docs I found out how I can wrap all slices with temporal, but I don't need that.
export const useBoundStore = create<CatsSlice & DogsSlice >()(
temporal(
(...a) => ({
...createCatsSlice(...a)
})
),
...createDogsSlice(...a)
);
Thanks!
Metadata
Metadata
Assignees
Labels
No labels