You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If you run the playground app and then edit lib\src\Component.vue to change the prop, e.g. rename message to msg, saving updates the UI and hides the message on the screen (as you would expect, it's no longer receiving a value for that prop). However, if you then update App.vue in the playground to use msg not message, whilst you can see HMR fires an update for App.vue it does not start rendering the message again. The JS console prints some warnings stating that you are passing an extraneous prop msg and missing the required prop message.
This is the case regardless of whether the component is registered via a plugin, or imported directly in App.vue.
It's easily worked around with a quick refresh - but perhaps there is a way to get it working?
The text was updated successfully, but these errors were encountered:
If you run the playground app and then edit
lib\src\Component.vue
to change the prop, e.g. renamemessage
tomsg
, saving updates the UI and hides the message on the screen (as you would expect, it's no longer receiving a value for that prop). However, if you then update App.vue in the playground to usemsg
notmessage
, whilst you can see HMR fires an update forApp.vue
it does not start rendering the message again. The JS console prints some warnings stating that you are passing an extraneous propmsg
and missing the required propmessage
.This is the case regardless of whether the component is registered via a plugin, or imported directly in App.vue.
It's easily worked around with a quick refresh - but perhaps there is a way to get it working?
The text was updated successfully, but these errors were encountered: