rsnext/examples/with-portals
Swarnava Sengupta a79d1efdd0
[Docs] Update react docs link (#47891)
- This PR fixed the  Documentation link of new react.dev website.
2023-04-04 11:56:03 -07:00
..
components [Docs] Update react docs link (#47891) 2023-04-04 11:56:03 -07:00
pages [Docs] Update examples to favour functional _document (#39871) 2022-08-23 18:52:31 +00:00
.gitignore Remove incorrect entries for pnpm debug log (#47241) 2023-03-26 22:26:05 -07:00
package.json Update Examples to use React 18 (#42027) 2022-10-28 17:43:20 +00:00
README.md [Docs] Update react docs link (#47891) 2023-04-04 11:56:03 -07:00

Example with portals

This example show how to use the React Portals feature with Next.js.

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 with-portals with-portals-app
yarn create next-app --example with-portals with-portals-app
pnpm create next-app --example with-portals with-portals-app

Deploy it to the cloud with Vercel (Documentation).