silverwolf-x's picture
|
download
raw
1.23 kB
# React Remove Properties Example
This example shows how to use the Next.js [reactRemoveProperties](https://nextjs.org/docs/advanced-features/compiler#remove-react-properties) config option to remove React properties.
## Deploy your own
[![Deploy with Vercel](https://vercel.com/button)](https://vercel.com/new/clone?repository-url=https://github.com/vercel/next.js/tree/canary/examples/react-remove-properties&project-name=react-remove-properties&repository-name=react-remove-properties)
## How to use
Execute [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packages/create-next-app) with [npm](https://docs.npmjs.com/cli/init), [Yarn](https://yarnpkg.com/lang/en/docs/cli/create/), or [pnpm](https://pnpm.io) to bootstrap the example:
```bash
npx create-next-app --example react-remove-properties react-remove-properties-app
```
```bash
yarn create next-app --example react-remove-properties react-remove-properties-app
```
```bash
pnpm create next-app --example react-remove-properties react-remove-properties-app
```
Deploy it to the cloud with [Vercel](https://vercel.com/new?utm_source=github&utm_medium=readme&utm_campaign=next-example) ([Documentation](https://nextjs.org/docs/deployment)).

Xet Storage Details

Size:
1.23 kB
·
Xet hash:
5d9280f19f53769002eeb54dcbeadd2e850d01ae03dbb23102d438d7f8ce4592

Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.