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.2.0.tbz
sha256=f7e93b2c24e6420ed7352f5b04ff028ea6ea8b9b91679bbce43aadfcae028f34
sha512=b74f883d8fad95738b7dd9b51f23af27ef1b541939ad9b8ea65cfb0d48a217c2265ca9319e9355c7782bf223a5168ee4ff236677503afa301c8b7b08561fcd8c

doc/CHANGES.html

Changes

0.2.0

  • Remove data-reactroot attr from ReactDOM.renderToString #129 by @pedrobslisboa
  • Make useUrl return the provided serverUrl #125 by @purefunctor
  • Replace Js.Re implemenation from pcre to quickjs b1a3e225cdad1298d705fbbd9618e15b0427ef0f by @davesnx
  • Remove Belt.Array.push #122 by @davesnx

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).
OCaml

Innovation. Community. Security.

On This Page
  1. 0.2.0
  2. 0.1.0