next.js
70b78c29 - Skip client-side data-fetching after ssr error (#51377)

Commit
1 year ago
Skip client-side data-fetching after ssr error (#51377) Fixes: #47978 When an error occurs in getInitialProps, the error page's getInitialProps is run server-side and returned in `__NEXT_DATA__`. Following, there's no need to re-run `getInitialProps` client-side on the hydrate pass. --------- Co-authored-by: JJ Kasper <jj@jjsweb.site>
Author
Parents
Loading