Unverified Commit f0dd49e4 authored by Michael Novotny's avatar Michael Novotny Committed by GitHub

Updates Large Page Data error message doc to use `JSON.parse` to make reading…

Updates Large Page Data error message doc to use `JSON.parse` to make reading output easier (#56713)

Fixes https://github.com/vercel/feedback/issues/26361
parent daa865ff
......@@ -13,7 +13,7 @@ Reduce the amount of data returned from `getStaticProps`, `getServerSideProps`,
To inspect the props passed to your page, you can inspect the below element's content in your browser devtools:
```bash filename="Terminal"
document.getElementById("__NEXT_DATA__").text
JSON.parse(document.getElementById("__NEXT_DATA__").textContent)
```
## Useful Links
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment