Update Readme (#14176)

Replace core with react, dom-client with react-dom
This commit is contained in:
Maksim Markelov authored and Dan Abramov committed 2018-11-12 16:25:32 +00:00
1 parent b98adb648a
commit d204747bef
4 files changed
+4 -4

No files matched your search

+1 -1
View File
@@ -20,7 +20,7 @@ Follow these steps:
# 1: Build react from source
cd /path/to/react
yarn
yarn build dom-client,core,react-cache,scheduler --type=NODE
yarn build react-dom/index,react/index,react-cache,scheduler --type=NODE
# 2: Install fixture dependencies
cd fixtures/unstable-async/suspense/
@@ -18,7 +18,7 @@ There are also known bugs and inefficiencies in master so **don't use this fixtu
# 1: Build react from source
cd /path/to/react
yarn
yarn build dom-client,core,react-cache,scheduler --type=NODE
yarn build react-dom/index,react/index,react-cache,scheduler --type=NODE
# 2: Install fixture dependencies
cd fixtures/unstable-async/time-slicing/
+1 -1
View File
@@ -5,7 +5,7 @@
In most cases, the only two commands you might want to use are:
- `yarn start`
- `yarn --cwd=../../ build core,dom-client --type=UMD_PROD && yarn start --skip-build`
- `yarn --cwd=../../ build react/index,react-dom/index --type=UMD_PROD && yarn start --skip-build`
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.
+1 -1
View File
@@ -104,7 +104,7 @@ async function buildBenchmarkBundlesFromGitRepo(
async function buildReactBundles(reactPath = getDefaultReactPath(), skipBuild) {
if (!skipBuild) {
await executeCommand(
`cd ${reactPath} && yarn && yarn build core,dom-client --type=UMD_PROD`
`cd ${reactPath} && yarn && yarn build react/index,react-dom/index --type=UMD_PROD`
);
}
}