I have an issue where I pass in a productId to load data based on that productId, but the state from Builder.io only loads a limited number of records, either 20 or 100, which causes the search results to be inaccurate. Is there any way to fix this.
Please keep in mind that when making a single fetch call, there is a limit of 100 results. Consequently, connected data will only return a maximum of 100 products. If you are receiving less than 100 results, it may be due to the way the data is being filtered. You can address this by using pagination, which involves using the limit and offset parameters. This method enables you to load data in batches, making it easier to handle larger datasets.