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
I'm trying to get vue-hot-reload-api working with SystemJS instead of Webpack. Currently if I call api.reload, it doesn't seem to re-render the component, at least if only the render function has changed. Instead it only re-renders the parent, not the changed component. Is this correct? vue-loader seems to only ever call reload though.
Should I call both reload and rerender to make sure the component updates completely?
When this API calls instance.$parent.$forceUpdate()here, it seems to decide here that it got back the same vnode as earlier and doesn't render it again.
The text was updated successfully, but these errors were encountered:
I'm trying to get
vue-hot-reload-api
working with SystemJS instead of Webpack. Currently if I callapi.reload
, it doesn't seem to re-render the component, at least if only the render function has changed. Instead it only re-renders the parent, not the changed component. Is this correct?vue-loader
seems to only ever callreload
though.Should I call both
reload
andrerender
to make sure the component updates completely?I'm modifying a component
App
mounted like this:When this API calls
instance.$parent.$forceUpdate()
here, it seems to decide here that it got back the samevnode
as earlier and doesn't render it again.The text was updated successfully, but these errors were encountered: