package server-reason-react

  1. Overview
  2. Docs
Rendering React components on the server natively

Install

Dune Dependency

Authors

Maintainers

Sources

server-reason-react-0.1.0.tbz
sha256=557e215377660a5c48c0494704d3d149ff249d4a5669f1749b393176b963ea05
sha512=cc3dd53dd21d2564ad031ca74552587f4a8200833ec80392fd190a55d7a7f83bec0fc57d2ec0e262c0c3ef2e78a89914872ea1588921c3cb8836e8e5f67b4cef

CHANGES.md.html

Changes

0.1.0

Initial release of server-reason-react, includes:

  • Server-side rendering of ReasonReact components (renderToString, renderToStaticMarkup & renderToLwtStream)

  • server-reason-react.browser_ppx for skipping code from the server

  • server-reason-react.melange_ppx for enabling melange bindings and extensions which run on the server

  • server-reason-react.belt a native Belt implementation

  • server-reason-react.js a native Js implementation (unsafe and limited)

  • server-reason-react.url and server-reason-react.url-native a universal library with both implementations to work with URLs on the server and the client

  • server-reason-react.promise and server-reason-react.promise-native a universal library with both implementations to work with Promises on the server and the client. Based on https://github.com/aantron/promise

  • server-reason-react.melange-fetch a fork of melange-fetch which is a melange library to fetch data on the client via the Fetch API. This fork is to be able to compile it on the server (not running).

  • server-reason-react.webapi a fork of melange-webapi which is a melange library to work with the Web API on the client. This fork is to be able to compile it on the server (not running).