Open charkour opened 5 months ago
Can we add a merge option like persist middleware?
Could we update zustand core to take a merge function? https://github.com/pmndrs/zustand/blob/fc2f85afff28e2ec3247c146d9996beae6cd6517/src/vanilla.ts#L79
Can we add a merge option like persist middleware?
Could we update zustand core to take a merge function? https://github.com/pmndrs/zustand/blob/fc2f85afff28e2ec3247c146d9996beae6cd6517/src/vanilla.ts#L79