drejohnson / reason-react-razzle

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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.

About


Languages

Language:OCaml 66.6%Language:JavaScript 33.4%