alloy / relational-theory

A prototype of server-side React+Relay rendering.
17 stars 4 forks source link

About

These are some experiments with using React and Relay for both server and client side rendering.

Setup

$ npm install yarn -g
$ yarn install

Then start the development server with:

$ yarn start

To run storybooks:

$ yarn run storybooks

Development environment

This setup is largely based on https://github.com/glenjamin/ultimate-hot-reloading-example.

TODO

Notes

export class Artist extends React.component {
  ...
}

export default Relay.createContainer(Artist, {
  ...
})

Examples

Hot Loader in Action

hot loader in action

Hot Loader Syntax Error Overlay

hot loader syntax error