Fixed an issue with infinite rerendering on app routes by making it a Pure component. Adds `why-did-you-render` for development use. Co-authored-by: Taso <[email protected]>