@samitouri / QOS-React / commits / 0c04acaf89

Remove FB specific build (#17875)

I moved unstable_SuspenseList internally. We don't need the FB build. I plan on also removing the ReactDOM fb specific entry. We shouldn't add any more FB specific internals nor APIs. If they're experimental they should go onto the experimental builds to avoid too many permutations.

Sebastian Markbåge committed Jan 20, 2020 at 16:06 UTC 0c04acaf8955d3f754ec894abfc7586cbf3220dc
2 files changed -29
packages/react/index.fb.js deleted
-14
@@ -1,14 +0,0 @@
1 -/**
2 - * Copyright (c) Facebook, Inc. and its affiliates.
3 - *
4 - * This source code is licensed under the MIT license found in the
5 - * LICENSE file in the root directory of this source tree.
6 - */
7 -
8 -'use strict';
9 -
10 -const ReactFB = require('./src/ReactFB');
11 -
12 -// TODO: decide on the top-level export form.
13 -// This is hacky but makes it work with both Rollup and Jest.
14 -module.exports = ReactFB.default || ReactFB;
packages/react/src/ReactFB.js deleted
-15
@@ -1,15 +0,0 @@
1 -/**
2 - * Copyright (c) Facebook, Inc. and its affiliates.
3 - *
4 - * This source code is licensed under the MIT license found in the
5 - * LICENSE file in the root directory of this source tree.
6 - *
7 - * @flow
8 - */
9 -
10 -import React from './React';
11 -
12 -// TODO: Temporary alias until we update the callers downstream.
13 -React.unstable_SuspenseList = React.SuspenseList;
14 -
15 -export default React;