Ágata Leuck
Ágata Leuck
Exact same error in two diferent systems (OpenSuse Tumbleweed and Raspberry Pi OS).
I kinda expected to see a "OS/distribution compatibility table" somewhere. I also need it to work at least on Ubuntu (works) and MacOS. Peace.
For me this issue happens while there is a native notification on screen. After the notification is dismissed, window throwing works again.
I would like to attempt the first option if that's alright.
Here is a reproduction of the bug: https://codesandbox.io/p/devbox/w9r7ly
Maybe this hook does intend to memoize the function. For example if you use it to debounce a state setter, the setter is stable by default and memoizing it would...
> > you have to wrap your function with `useCallback` before you pass to the `useDebounceCallback`. then it will works as you expected... i think thats why the hook called...