Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update hooks.md documentation (#2687)
The documentation of getProducts hook was outdated. If you agree, I'd also add more comprehensive documentation when it comes to handling errors. I was getting an empty products list and without adding the `.catch` statement to the `getProducts` and seeing that I was missing the `skus` property, I couldn't figure it out. I think it should be clear from the documentation that `getProducts` returns a promise.
- Loading branch information