rsnext/examples/with-portals-ssr
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
..
pages [Docs] Prefer function _app component in examples (#39967) 2022-08-26 08:17:54 +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 Server Side Rendered portals

An example of Server Side Rendered React Portals with @jesstelford/react-portal-universal and 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-ssr with-portals-ssr-app
yarn create next-app --example with-portals-ssr with-portals-ssr-app
pnpm create next-app --example with-portals-ssr with-portals-ssr-app

Deploy it to the cloud with Vercel (Documentation).