Skip to content

basic template to check Server Side Rendering in React with dynamic data from GraphQL server using Apollo Client on client side

License

Notifications You must be signed in to change notification settings

denisix/react-graphql-ssr

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Simple React template with configured SSR and server-side script, that works with remote GraphQL to test SSR rendering with Apollo Client on the board.

Build & start react app:

  1. npm i

  2. npm run build

  3. npm run start-ssr

Open http://localhost:4010 to view it in the browser.

You can disable JavaScript in your browser and reload website to test pre-rendered result by React SSR. Also you can measure performance with screenshots to make sure that rehydration process is going smoothly and invisible, without website flashing.

Tags

react, graphql, server side rendering, pre-rendering, ssr

Learn More

About

basic template to check Server Side Rendering in React with dynamic data from GraphQL server using Apollo Client on client side

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published