The first products result from the useProductSearch hook includes only placeholder items, independent from the search query. The real results are triggered shortly after. The loading state turns false when the placeholder items are returned, then briefly true and false again when the real search results are returned. This behaviour is problematic if other hooks are triggered based on the search result, as they will be initially triggered with invalid data.
Thanks for the details and the steps to reproduce @florian-litdog , this really helps us investigate and resolve the issue quickly. We now identified the problem and will be releasing a new version of the SDK to address it.
Hi @florian-litdog & @farid , we just released a new version of the SDK to address this issue. You can install the @next tag for the Minis to try this out!