-
Notifications
You must be signed in to change notification settings - Fork 518
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Async component <Highlight> should be explicitly created via defineAsyncComponent() in Vue 3 #6121
Comments
Hm, this may be a breaking change in Vue. I know it definitely works in older vue versions, like 3.2.4 here https://github.com/algolia/doc-code-samples/blob/master/vue-instantsearch/vue3-vite/yarn.lock#L642 (or 3.2.47 elsewhere). From which vue version are you able to reproduce this? |
Yes, I read the original text, but with older vue versions it definitely works. Does 3.4.0 for example have that error already? |
@Haroenv apologies I misread your original message. So I have dropped down the following packages, [Vue warn]: (deprecation RENDER_FUNCTION) Vue 3's render function API has changed. You can opt-in to the new API with:
configureCompat({ RENDER_FUNCTION: false }) |
@josefarrugia happy to look into it, but require a minimal reproduction. Can you provide it? |
@Rigo-m sure, what particular files would you like to see and how do I go about sharing it with you? |
Can you provide a public repository with a minimal setup that reproduces the behavior? |
🐛 Current behavior
Hello there,
I am getting the following Vue warning error message when using the
AisHighlight
component in Vue 3.4.21 whilst entering characters in my search field. There are no results being shown too. This works on Vue 2.7.16.Here's a snippet of my import statements:
I am also getting the following warning message:
Any thoughts?
🔍 Steps to reproduce
npm install algoliasearch vue-instantsearch
AisAutocomplete, AisConfigure, AisHighlight, AisInstantSearch,
to your Vue templateVue warn]: (deprecation COMPONENT_ASYNC) Async component <Highlight> should be explicitly created via defineAsyncComponent() in Vue 3
Live reproduction
no link at the moment
💭 Expected behavior
Hits should be displayed whilst typing in a few characters.
Package version
[email protected], [email protected]
Operating system
No response
Browser
No response
Code of Conduct
The text was updated successfully, but these errors were encountered: