fix-next: avoid circular reference (#6812)

This commit is contained in:
Vasil Chimev
2019-01-22 14:37:29 +02:00
committed by GitHub
parent 19dfd163e0
commit 8cb726aedf
3 changed files with 9 additions and 8 deletions

View File

@@ -217,7 +217,8 @@ global.__onLiveSync = function __onLiveSync(context?: HmrContext) {
return;
}
livesync(context);
const rootView = getRootView();
livesync(rootView, context);
};
function initLifecycleCallbacks() {