next.js icon indicating copy to clipboard operation
next.js copied to clipboard

Docs: align fetch API examples to v15 defaults

Open therealpecus opened this issue 1 year ago • 1 comments

Improving Documentation

  • [x] Run pnpm prettier-fix to fix formatting issues before opening the PR.
  • [x] Read the Docs Contribution Guide to ensure your contribution follows the docs guidelines: https://nextjs.org/docs/community/contribution-guide

What

This PR changes code comments in the fetch API documentation examples to avoid confusion after the caching defaults changes brought by version 15.

therealpecus avatar Aug 26 '24 14:08 therealpecus

Allow CI Workflow Run

  • [ ] approve CI run for commit: 212ec13580637de54aea72376ed8366984f8b00a

Note: this should only be enabled once the PR is ready to go and can only be enabled by a maintainer

ijjk avatar Aug 26 '24 14:08 ijjk

closing because canary is now ahead with changes to docs that drop any reference to flipping of cache defaults between v14 and v15

therealpecus avatar Aug 29 '24 12:08 therealpecus