I get this error when following the React guide in the docs: Unhandled Rejection (TypeError): index.search is not a function
See original GitHub issueUnhandled Rejection (TypeError): index.search is not a function
Here is a codesandbox with my exact code not including the host and apiKey https://codesandbox.io/s/little-resonance-vdvem?file=/src/App.js
How do I solve this error?
Issue Analytics
- State:
- Created 2 years ago
- Comments:7 (4 by maintainers)
Top Results From Across the Web
TypeError: "x" is not a function - JavaScript - MDN Web Docs
The JavaScript exception "is not a function" occurs when there was an attempt to call a value from a function, but the value...
Read more >TypeError Handling in React.js for Map Function | Pluralsight
This guide assumes that you have basic knowledge of React.js. ... this error: Uncaught TypeError: this.props.data.map is not a function .
Read more >How to Handle JavaScript Uncaught TypeError: “x” is Not a ...
The Javascript TypeError: "x" is not a function occurs when calling a function on a value or object, which is not actually a...
Read more >React JS - Uncaught TypeError: this.props.data.map is not a ...
The .map function is only available on array. It looks like data isn't in the format you are expecting it to be (it...
Read more >Invalid Hook Call Warning - React
You are probably here because you got the following error message: Hooks can only be called inside the body of a function component....
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

It works now for some reason. Interesting.
Amazing product by the way. I love Meilisearch and wish you guys lots of success!!
https://github.com/meilisearch/documentation/issues/1068 is open!
Closing this one then 😃