Skip to content

Commit

Permalink
Rename Renderer -> Streamer
Browse files Browse the repository at this point in the history
  • Loading branch information
sebmarkbage committed Nov 8, 2018
1 parent 236ec26 commit 6d94011
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions packages/react-noop-renderer/src/ReactNoopServer.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,11 @@
* environment.
*/

import ReactFizzRenderer from 'react-stream';
import ReactFizzStreamer from 'react-stream';

type Destination = Array<string>;

const ReactNoopServer = ReactFizzRenderer({
const ReactNoopServer = ReactFizzStreamer({
scheduleWork(callback: () => void) {
callback();
},
Expand Down
4 changes: 2 additions & 2 deletions packages/react-stream/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@

'use strict';

const ReactFizzRenderer = require('./src/ReactFizzRenderer');
const ReactFizzStreamer = require('./src/ReactFizzStreamer');

// TODO: decide on the top-level export form.
// This is hacky but makes it work with both Rollup and Jest.
module.exports = ReactFizzRenderer.default || ReactFizzRenderer;
module.exports = ReactFizzStreamer.default || ReactFizzStreamer;
2 changes: 1 addition & 1 deletion packages/react-stream/inline-typed.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,4 +21,4 @@
// renderers have different host config types. So we check them one by one.
// We run Flow on all renderers on CI.

export * from './src/ReactFizzRenderer';
export * from './src/ReactFizzStreamer';
2 changes: 1 addition & 1 deletion packages/react-stream/inline.dom.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,4 @@
// This file intentionally does *not* have the Flow annotation.
// Don't add it. See `./inline-typed.js` for an explanation.

export * from './src/ReactFizzRenderer';
export * from './src/ReactFizzStreamer';

0 comments on commit 6d94011

Please sign in to comment.