34fa5f8535
Hi 👋 Based on https://nextjs.org/docs/advanced-features/compiler#remove-react-properties, this is not experimental but lives under `compiler` now. ## 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) |
||
---|---|---|
.. | ||
pages | ||
.gitignore | ||
next.config.js | ||
package.json | ||
README.md |
React Remove Properties Example
This example shows how to use the reactRemoveProperties
config option to remove React properties.
Deploy your own
Deploy the example using Vercel or preview live with StackBlitz
How to use
Execute create-next-app
with npm, Yarn, or pnpm to bootstrap the example:
npx create-next-app --example react-remove-properties react-remove-properties-app
yarn create next-app --example react-remove-properties react-remove-properties-app
pnpm create next-app --example react-remove-properties react-remove-properties-app
Deploy it to the cloud with Vercel (Documentation).