Skip to content

sujii/partial-hydration-with-server-components

Repository files navigation

What aim for

Repo of Template :

🛏️✨ for React-APP, API-less Client/Server Pertial-Hydration Architecture.

References

ToDo

  • fix JavaScript codes to TypeScript
    • fix tsconfig.json
  • generate interface Models from GraphQL Code Generator
  • fix ts.config details, so next.config too
  • add React Server Component
  • get Data from GraphQL in use Partial Hydration
    • example, from SpringBoot
    • add sample SpringBoot APP as Submodule
  • (optional) replace yarn workpspaces to pnpm workspaces

Install packages (setup yarn workspaces)

# first time: when you cloned this repo
make install

# default: setup workspaces
make auto-clean

# when dependencies are broken (keep cache)
make auto-clean-hard

# when dependencies are broken (purge cache)
make auto-clean-omega

Getting Started /packages/client DEV

# first, run the development server
yarn client dev

# to see the result with your browser
open http://localhost:3000

Auther

@sujii / Susumu Fujii

License

MIT

About

Testing Partial-Hydration-with-React-Server-Components.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published