package server-reason-react
Rendering React components on the server natively
Install
dune-project
Dependency
Authors
Maintainers
Sources
server-reason-react-0.3.0.tbz
sha256=2a6fc7197d251dc91babcf22cb6987e1d07e91ae631cc62a893df2c6da6b49b5
sha512=c6ed6eb39b046b698844e561cf9a42a866e4df632a6e495a6473ba629ecd9ee534db0b5b42737776d9a4b15376bea1380b77749228c88a0fc0f6b10ead4b3a01
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
pcreto 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_ppxfor skipping code from the serverserver-reason-react.melange_ppxfor enabling melange bindings and extensions which run on the serverserver-reason-react.belta native Belt implementationserver-reason-react.jsa native Js implementation (unsafe and limited)server-reason-react.urlandserver-reason-react.url-nativea universal library with both implementations to work with URLs on the server and the clientserver-reason-react.promiseandserver-reason-react.promise-nativea universal library with both implementations to work with Promises on the server and the client. Based on https://github.com/aantron/promiseserver-reason-react.melange-fetcha 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.webapia 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).