TIL: Shallow Routing in NextJS

Subscribe to my newsletter and never miss my upcoming articles

  Router.pushRoute(url,{ shallow: true });

This lets you shallow route to a url without going through getInitialProps again which inturn prevents unnecessary nw requests.

Tags:#til

No Comments Yet