Charles Kornoelje

Results 127 comments of Charles Kornoelje

This is no longer an issue in v2. Thanks for the great suggestion!

Hi @astrarudra, Thank you so much for the kind words and thank you for your patience. Unfortunately, it's not possible to partialize a nested object and I don't think there's...

I'll take a look at adding a `merge` function that would make your desired behavior easier to do by default.

Thanks! I did take a look at the zundo code and decided it's likely best to make a middleware to handle how states are merged rather than update zundo itself.

@ARamss, I have [forked this repo](https://github.com/charkour/react-reactions/) and have [published a working version](https://www.npmjs.com/package/@charkour/react-reactions) of the library (with TypeScript support). ```sh npm i @charkour/react-reactions ```

Hi @indubabu, Thanks for making the issue! Could you share the code that is calling `undo` and `useStoreWithUndo`? Thanks

Hey @alexanderhorner, Thanks for the comment! Have you checked out the `diff` option that is passed to the `temporal` middleware? I should update the readme, but this can support diffs...

Ah, you're right. The example documentation isn't helpful in your case. I believe achieving your intended use case is possible, but the docs provide an example for a different use...

@yarinsa, Could you provide a reproduction of the error?

Ah, I see the issue. This is a really annoying part of zustand and I don't know the best practice. I'll make a discussion on the zustand repo to see...