Search posts, tags, users, and pages
Valerii Sedin
Thank you for the great article with a good example, really helped me understand the hook. However I think there is a small error in your code snippet: getSnapshot function should return data, but in your code here it does not.
Victoria Lo
Thanks for pointing that out Valerii Sedin! updated :)