When my Rendr app boots, App.router.currentView
always evaluates to undefined
and this in turn breaks my client side rendering as
if (this.currentView) {
this.currentView.remove();
}
does not evalutate to true in the funcion ClientRouter.prototype.getRenderCallback
in the file /node_modules/rendr/client/router.js
. I've tried tracking down where hte router.currentView
is getting set and why it is undefined for me without much luck. Any thoughts on what might be causing this?