Update Readme (#14176)
Replace core with react, dom-client with react-dom
Maksim Markelov committed
Nov 12, 2018 at 19:25 UTC
d204747bef7ab5ed14e8356ddfc1eefc2b4d70e4
4 files changed
+4
-4
fixtures/unstable-async/suspense/README.md
+1
-1
@@ -20,7 +20,7 @@ Follow these steps:
20
# 1: Build react from source
21
cd /path/to/react
22
yarn
23
-yarn build dom-client,core,react-cache,scheduler --type=NODE
23
+yarn build react-dom/index,react/index,react-cache,scheduler --type=NODE
24
25
# 2: Install fixture dependencies
26
cd fixtures/unstable-async/suspense/
fixtures/unstable-async/time-slicing/README.md
+1
-1
@@ -18,7 +18,7 @@ There are also known bugs and inefficiencies in master so **don't use this fixtu
18
# 1: Build react from source
19
cd /path/to/react
20
yarn
21
-yarn build dom-client,core,react-cache,scheduler --type=NODE
21
+yarn build react-dom/index,react/index,react-cache,scheduler --type=NODE
22
23
# 2: Install fixture dependencies
24
cd fixtures/unstable-async/time-slicing/
scripts/bench/README.md
+1
-1
@@ -5,7 +5,7 @@
5
In most cases, the only two commands you might want to use are:
6
7
- `yarn start`
8
-- `yarn --cwd=../../ build core,dom-client --type=UMD_PROD && yarn start --skip-build`
8
+- `yarn --cwd=../../ build react/index,react-dom/index --type=UMD_PROD && yarn start --skip-build`
9
10
The first command will run benchmarks with all the default settings. A local and remote build will occur on React and ReactDOM UMD bundles, both local and remote repos will be run against all benchmarks.
11
scripts/bench/build.js
+1
-1
@@ -104,7 +104,7 @@ async function buildBenchmarkBundlesFromGitRepo(
104
async function buildReactBundles(reactPath = getDefaultReactPath(), skipBuild) {
105
if (!skipBuild) {
106
await executeCommand(
107
- `cd ${reactPath} && yarn && yarn build core,dom-client --type=UMD_PROD`
107
+ `cd ${reactPath} && yarn && yarn build react/index,react-dom/index --type=UMD_PROD`
108
);
109
}
110
}