next.js
99b26351 - docs: clarify native <script> usage for JSON-LD in docs (#90380)

Commit
37 days ago
docs: clarify native <script> usage for JSON-LD in docs (#90380) While reviewing the [JSON-LD documentation](https://nextjs.org/docs/app/guides/json-ld ), I noticed that seeing `<script>` instead of `<Script>` can easily feel like a typo > Our current recommendation for JSON-LD is to render structured data as a <script> tag in your layout.js or page.js components. This PR adds a short clarification explaining why the native `<script>` tag is intentionally recommended for JSON-LD. The goal is to reduce confusion and make the guidance clearer for developers reading the docs. @icyJoseph --------- Co-authored-by: Joseph <joseph.chamochumbi@vercel.com>
Parents
Loading