Open
Description
Sometimes after debugging for a while, I get a crash when going back from a page. The error says key is not defined in NSRouteReuseStrategy.shouldAttach()
here:
const shouldAttach = isBack && this.cache.peek().key === key;
I see in other places nearby there is a check that this.cache.peek()
exists before calling .key.