react/packages/react-stream
Grey Baker b66e6e41e6 Add directory details to the package.json of all packages (#14628)
Specifying the directory as part of the `repository` field in a `package.json`
allows third party tools to provide better support when working with monorepos.
For example, it allows them to correctly construct a commit diff for a specific
package.

This format was accepted by npm in https://github.com/npm/rfcs/pull/19.
2019-01-18 20:21:12 +00:00
..
npm [Fizz] New Server Rendering Infra (#14144) 2018-11-30 11:38:22 -08:00
src [Fizz] New Server Rendering Infra (#14144) 2018-11-30 11:38:22 -08:00
index.js [Fizz] New Server Rendering Infra (#14144) 2018-11-30 11:38:22 -08:00
inline-typed.js [Fizz] New Server Rendering Infra (#14144) 2018-11-30 11:38:22 -08:00
inline.dom-browser.js [Fizz] New Server Rendering Infra (#14144) 2018-11-30 11:38:22 -08:00
inline.dom.js [Fizz] New Server Rendering Infra (#14144) 2018-11-30 11:38:22 -08:00
package.json Add directory details to the package.json of all packages (#14628) 2019-01-18 20:21:12 +00:00
README.md [Fizz] New Server Rendering Infra (#14144) 2018-11-30 11:38:22 -08:00

react-stream

This is an experimental package for creating custom React streaming server renderers.

Its API is not as stable as that of React, React Native, or React DOM, and does not follow the common versioning scheme.

Use it at your own risk.

API

var Renderer = require('react-stream');

var HostConfig = {
  // You'll need to implement some methods here.
  // See below for more information and examples.
};

var MyRenderer = Renderer(HostConfig);

var RendererPublicAPI = {
};

module.exports = RendererPublicAPI;