Replies: 3 comments 16 replies
-
|
Hey @vuk-dev!
The error you encountered is a bug that comes from how React Native polyfills I'll create an issue. |
Beta Was this translation helpful? Give feedback.
-
|
Hey @vuk-dev, this comes from the fact that Autocomplete uses an It seems that the other issue is gone though, so I'll go ahead with the fix and will leave this discussion open to get you updated. In the meantime, you may try to go around this issue by polyfilling the Thanks for your patience! |
Beta Was this translation helpful? Give feedback.
-
|
I use the following parts of import {
UseInfiniteHitsProps,
useHitsPerPage,
useInfiniteHits,
useInstantSearch,
} from "react-instantsearch-core";I have found that the latest version of The newer versions (7.16+) added Algolia's AI chat feature which depends on the Vercel AI SDK (ai package), which isn't compatible with React Native. If you use 7.16+ with React Native, you'll get an error: ...due to Algoia's dependence on vercel AI sdk, which assumes it's running in the browser or node. It would be great if Algolia add real support for React Native, or at least documented this somewhere. Alternatively, break the AI piece out as a separate package from this package. |
Beta Was this translation helpful? Give feedback.


Uh oh!
There was an error while loading. Please reload this page.
-
Hi, does algolia autocomplete component have support for React native?

The thing is that we have everything set on web and works correctly but when i try to create custom renderer on react native i get
The reason we need autocomplete is query suggestion on every page of app, and real search would be on 1 page.
Code used is from example: https://github.com/algolia/autocomplete/blob/next/examples/react-renderer/src/Autocomplete.tsx
Of course code is set to work with RN and all that :D
Beta Was this translation helpful? Give feedback.
All reactions