In this article, we’ll look at how to force Vue.js to reload or re-render.
To force Vue.js to reload or re-render, we use the $forceUpdate
method.
For instance, we write
this.$forceUpdate();
to call this.$forceUpdate();
in our component to force the component to re-render.
To force Vue.js to reload or re-render, we use the $forceUpdate
method.
Total Views: 1,474