Problem with defineAsyncComponent() and <component> #8393
Unanswered
mrc-bsllt
asked this question in
Help/Questions
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi everyone! I am experiencing a problem using defineAsyncComponent() and . In the AppForm component I call an api inside the server/api folder where it returns a json with which I am going to build a form. So the end result should be to call a different input component based on the json that comes to me. However, every time I type in an input with the @input event, the components render many times. I hope I have been clear enough. I'll leave a link for reproducing the problem.
https://stackblitz.com/edit/nuxt-starter-k4qjvi?file=components%2FAppForm%2Findex.vue
Beta Was this translation helpful? Give feedback.
All reactions