Skip to content

Example app showing how perform simple server-side rendering (SSR) using react-relay-network-modern and associated middleware, react-relay-network-modern-ssr

License

Notifications You must be signed in to change notification settings

damassi/react-relay-network-modern-ssr-example

Repository files navigation

Relay Modern + relay-network-modern-ssr Example app

Example app showing how perform simple server-side rendering (SSR) using react-relay-network-modern and associated middleware, react-relay-network-modern-ssr.

NOTE:

  • This is meant for Relay 1.5, since it relies on an experimental undocumented QueryRenderer prop dataFor='STORE_THEN_NETWORK', which will read from store data before network if available
  • This uses Artsy's fork of Relay 1.5 while language plugin support is worked on, but should work just fine with 1.5

Setup:

git clone git@github.com:damassi/react-relay-network-modern-ssr-example.git
cd react-relay-network-modern-ssr-example
yarn install
yarn start

About

Example app showing how perform simple server-side rendering (SSR) using react-relay-network-modern and associated middleware, react-relay-network-modern-ssr

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published