We're using the Algolia autocomplete module with our React application. We noticed that this autocomplete library is using postmessage to send messages.
The messages that the library is sending appear to have data that throw an exception if JSON.parse is called on the message data.
We have a requirement that our React module not be posting messages with data that does not pass JSON.parse.
We've seen messages that have empty data and other messages with data that starts with the string 'setImmediate$'. We need to subdue these messages.
Why is the autosuggest library generating these postmessages? Is there a way that we can stop these postmessages from being sent?
Thank you, Brian