rsnext/examples/react-remove-properties
William Duplenne 34fa5f8535
[Docs] Update react-remove-properties example (#40307)
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)
2022-09-07 23:53:42 +00:00
..
pages Add support for removing React properties. (#31606) 2021-11-26 14:45:03 +01:00
.gitignore Update default gitignore templates (#39051) 2022-07-26 20:08:40 -05:00
next.config.js [Docs] Update react-remove-properties example (#40307) 2022-09-07 23:53:42 +00:00
package.json Add support for removing React properties. (#31606) 2021-11-26 14:45:03 +01:00
README.md docs(examples): improve DX while copying command to create new project (#38410) 2022-07-26 21:57:48 -05:00

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

Deploy with Vercel

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).