Skip to content

drejohnson/reason-react-razzle

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ReasonReact + Razzle + Apollo + React Loadable

A basic starting point for using server-side rendering with ReasonReact via Razzle.

Far from refined. Used as a basis to learn ReasonML and POC for server side rendering and code-splitting with ReasonReact

Features

Quick start

  • Use install dependencies: yarn
  • For dev mode without ssr run yarn dev or npm run dev, open browser, the app should be running at: http://localhost:3000.
  • To build run: yarn build or npm run build
  • To build and run use: yarn build or npm run build followed by yarn start or npm start.

TODO

NOTE

Server-side rendering with Reason-Apollo doesn't actually work. Queries don't execute on the server.