is there a way to properly rerender the component? #727
-
I'm building this vue component wrapper, the component set props for config and DOM property. |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 2 replies
-
Hey @iqbaltawakkal, The uploader will re-render on DOM property changes in most cases. However, there are some scenarios we haven't covered. Could you provide more detailed information?
|
Beta Was this translation helpful? Give feedback.
-
Hi @nd0ut thanks for the response, |
Beta Was this translation helpful? Give feedback.
-
Hey @iqbaltawakkal, Unfortunately, I wasn't able to reproduce this issue. Are you sure your watch callback is being executed? Could you create a minimal reproducible example (MRE) on CodeSandbox or StackBlitz? Here is the example of how it works: https://codesandbox.io/p/devbox/uploader-minimal-vue-forked-5j7gkt?file=%2Fsrc%2FApp.vue%3A24%2C85 |
Beta Was this translation helpful? Give feedback.
Hey @iqbaltawakkal,
Unfortunately, I wasn't able to reproduce this issue.
Are you sure your watch callback is being executed? Could you create a minimal reproducible example (MRE) on CodeSandbox or StackBlitz?
Here is the example of how it works: https://codesandbox.io/p/devbox/uploader-minimal-vue-forked-5j7gkt?file=%2Fsrc%2FApp.vue%3A24%2C85