Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
return function(oldValue, newValue) {
let oldChild = childRoute(oldValue, outletName);
let newChild = childRoute(newValue, outletName);
return routeIsStable(oldChild, newChild) && (!watchModels || modelIsStable(oldChild, newChild));
};
}),
return function(oldValue, newValue) {
let oldChild = childRoute(oldValue, outletName);
let newChild = childRoute(newValue, outletName);
return routeIsStable(oldChild, newChild) && (!watchModels || modelIsStable(oldChild, newChild));
};
}),