⚡️ Libraries for building performant and instant search and recommend experiences with Algolia. Compatible with JavaScript, TypeScript, React and Vue.
3.74k
stars
527
forks
source link
Duplicated queries network request when using search-insights setAuthenticatedUserToken #6216
Open
Ali-hd opened 6 months ago
🐛 Current behavior
There are duplicated queries request when trying to run
aa('setAuthenticatedUserToken', '12345');
fromsearch-insights
packageThis issue occurred after upgrading from react-instantsearch 7.5.0 > 7.8.0
🔍 Steps to reproduce
Live reproduction
https://codesandbox.io/p/sandbox/youthful-ishizaka-vv9dsd
💭 Expected behavior
There should not be duplicated queries request when running
aa('setAuthenticatedUserToken', '12345');
Package version
react-instantsearch 7.9.0
Operating system
windows 10 pro
Browser
Version 125.0.6422.78 (Official Build) (64-bit)
Code of Conduct