Insights triggering too many requests and blocking the user thread. (CORB).
bernardinorafael opened this issue Β· comments
π Current behavior
I noticed a behavior that curiously only happens in RefinementList, and more specifically when cleaning the search and resending information.
The browser is throwing the following error: "Refused to set unsafe header Content-Length".
You may also notice some error messages reporting CORB problems.
π Steps to reproduce
1 - Go to https://marketplace.xyami.co.ao/search
2 - Use some faceted search filters and inspect the browser.
Live reproduction
https://marketplace.xyami.co.ao/search
π Expected behavior
No errors when re-searching when clearing RefinementList components
Package version
react-instantsearch: 7.1.0, react-instantsearch-core: 7.1.0
Operating system
No response
Browser
No response
Code of Conduct
- I agree to follow this project's Code of Conduct
Encountering the same, though in our use case, there's no use of RefinementList.
I totally forgot about this issue.
my problem was related to a call to useInfiniteQuery, which was interfering with useRefinementList queries, I have already resolved this problem.
How did you resolve this? @bernardinorafael