diff --git a/errors/large-page-data.md b/errors/large-page-data.md index 9969b380299e..6a195072f43f 100644 --- a/errors/large-page-data.md +++ b/errors/large-page-data.md @@ -8,6 +8,12 @@ One of your pages includes a large amount of page data (>= 128kB). This can nega Reduce the amount of data returned from `getStaticProps`, `getServerSideProps`, or `getInitialProps` to only the essential data to render the page. The default threshold of 128kB can be configured in `largePageDataBytes` if absolutely necessary and the performance implications are understood. +To inspect the props passed to your page, you can inspect the below element's content in your browser devtools: + +```sh +document.getElementById("__NEXT_DATA__").text +``` + ### Useful Links - [Data Fetching Documentation](https://nextjs.org/docs/basic-features/data-fetching/overview)