rsnext/examples/with-portals-ssr
Mayank 764f6c8ec7
Update dependencies in examples (#55993)
Co-authored-by: Snyk bot <19733683+snyk-bot@users.noreply.github.com>
2023-09-26 22:34:44 +00: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 dependencies in examples (#55993) 2023-09-26 22:34:44 +00:00
README.md update example Deploy button URLs (#48842) 2023-04-26 13:31:44 -04: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).