gundb-react-hooks
gundb-react-hooks copied to clipboard
Fix update state in `removeFromSet`
First of all, thanks for this great library. Exactly what I needed.
I'm using the useGunCollectionState()
hook and noticed that elements didn't disappear after calling the removeFromSet
function.
After some investigation I noticed that no event gets dispatched in that case.
I'm not entirely sure if denounce handler should be used, let me know.