Removes every active watcher created via watch() and restores any patched History API methods. Useful when tearing down single-page apps or hot-reload.
watch()
unwatch(); Copy
unwatch();
Removes every active watcher created via
watch()and restores any patched History API methods. Useful when tearing down single-page apps or hot-reload.