react-autosave
react-autosave copied to clipboard
Support of objects and arrays for useDebounce.
HI!) When I used our hooks I Faced with a problem.
Currently, if you pass an object/array as data in useAutosave or useDebounce.
Then debouncing never stop.
I see the following solution.
But maybe you know how to implement it better, still I don't have much experience.

@jollyjerr is this up-for-grabs? I'd like to work on this bug if possible
@raerpo for sure! Let me know if you have any questions!