mirror of
https://github.com/zebrajr/react.git
synced 2025-12-06 12:20:20 +01:00
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. |
||
|---|---|---|
| .. | ||
| npm | ||
| src | ||
| index.js | ||
| inline-typed.js | ||
| inline.dom-browser.js | ||
| inline.dom.js | ||
| package.json | ||
| README.md | ||
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;