I just tried updating a bunch of packages on our p...
# community-help
c
I just tried updating a bunch of packages on our project, but am running into search issues. It seems like the page isn't being hydrated/refreshed when state changes. It's really odd! Anyway, I have got a very minimal example on GitHub. It's based on the typesense instantsearch adapter, so not sure if the issue is in the adapter or somewhere else. Though if you run it, you should also see if you try type in the text box, nothing seems to happen either.
v
Try disabling the reactStrictMode in next.config.js
j
You’d need to downgrade React to 17. React 18 has issues with instantsearch. More context in this thread: https://typesense-community.slack.com/archives/C01P749MET0/p1654615232099099?thread_ts=1654605167.979699&cid=C01P749MET0
c
Well it's for React 18 I am trying to upgrade 😄 Though in the issue linked from the chat you linked to, it seems that strict mode support was fixed?
Oh, maybe that's only for hooks
Copy code
Unhandled Runtime Error

Error: 400 - No search fields specified for the query.
Call Stack
_validateTypesenseResult
node_modules\typesense-instantsearch-adapter\lib\TypesenseInstantsearchAdapter.js (182:0)
So I guess the typesense adapter doesn't work with
react-instantsearch-hooks-web
yet Edit: Nevermind, I was just being a fool. Seems to work!