rsnext/examples/with-overmind
2022-10-30 21:00:45 +01:00
..
components Run next/link codemod for Next.js 13 on examples (#41913) 2022-10-30 21:00:45 +01:00
overmind Improve linting rules to catch more errors (#9374) 2019-11-10 19:24:53 -08:00
pages Removed redundant react imports from with-overmind (#13422) 2020-05-27 04:12:07 +00:00
.gitignore Update default gitignore templates (#39051) 2022-07-26 20:08:40 -05:00
package.json Update Examples to use React 18 (#42027) 2022-10-28 17:43:20 +00:00
README.md docs(examples): improve DX while copying command to create new project (#38410) 2022-07-26 21:57:48 -05:00

Overmind example

This example uses overmind.

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

Deploy it to the cloud with Vercel (Documentation).

Notes

Look at the comments for more information on how the application is structured. This is just one of several ways you can manage hydration and rehydration of state. It depends heavily on how you want to manage it, do code sharing between client and server etc. The exampled approach should give you the hooks and flexibility to get you started on your endeavor :-)