mirror of
https://github.com/zebrajr/react.git
synced 2026-01-15 12:15:22 +00:00
* react-dom: convert packages/react-dom/src/client * react-dom: convert packages/react-dom/src/events * react-dom: convert packages/react-dom/src/test-utils * react-dom: convert files on root * react-dom: convert updated ReactDOM-test.js
19 lines
473 B
JavaScript
19 lines
473 B
JavaScript
/**
|
|
* Copyright (c) 2013-present, Facebook, Inc.
|
|
*
|
|
* This source code is licensed under the MIT license found in the
|
|
* LICENSE file in the root directory of this source tree.
|
|
*
|
|
* @flow
|
|
*/
|
|
|
|
'use strict';
|
|
|
|
const ReactDOMServer = require('./src/server/ReactDOMServerNode');
|
|
|
|
// TODO: decide on the top-level export form.
|
|
// This is hacky but makes it work with both Rollup and Jest
|
|
module.exports = ReactDOMServer.default
|
|
? ReactDOMServer.default
|
|
: ReactDOMServer;
|