Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[docs] Clarify polyfill support (#39272)
Currently next.js polyfills a [subset](https://github.com/vercel/next.js/blob/canary/packages/next-polyfill-nomodule/src/index.js) of APIs for `nomodule` browsers (such as IE 11), however it's not immediately clear to developers which APIs are transparently polyfilled. For example, currently `Object.entries` is polyfilled and thus is usable in IE 11, but [it was decided](#15772 (comment)) that `Object.fromEntries` should not be polyfilled. As a developer, this is a confusing situation until you end up finding the `next-polyfill-nomodule` list of polyfills that are included. This PR attempts to improve the Supported Browser Features page by: - linking to the list of polyfills - clarifying that custom polyfills are required for IE11 (and other old browser) compatibility - moving the section on Sever-Side polyfills further down the page so all browser polyfill sections are better grouped together ## Documentation / Examples - [x] Make sure the linting passes by running `pnpm lint` - [x] The examples guidelines are followed from [our contributing doc](https://github.com/vercel/next.js/blob/canary/contributing.md#adding-examples)
- Loading branch information