From 80f2dabd7091f75c20de16779da7cc98d097afaa Mon Sep 17 00:00:00 2001 From: Jamison Lottering Date: Fri, 29 Sep 2017 16:10:03 -0700 Subject: [PATCH] Fix issue with parent routes being rerendered when navigating to/from child route --- lib/app/client.js | 8 -------- 1 file changed, 8 deletions(-) diff --git a/lib/app/client.js b/lib/app/client.js index b4087f8129..de8b84f5c0 100644 --- a/lib/app/client.js +++ b/lib/app/client.js @@ -364,14 +364,6 @@ function fixPrepatch (to, ___) { _lastComponentsFiles = instances.map((instance, i) => { if (!instance) return ''; - - if (_lastPaths[i] === instance.constructor._path && typeof instance.constructor.options.data === 'function') { - const newData = instance.constructor.options.data.call(instance) - for (let key in newData) { - Vue.set(instance.$data, key, newData[key]) - } - } - return instance.constructor.options.__file })