From 6158ab4666fa74f7f0615659c639ab0cd319a609 Mon Sep 17 00:00:00 2001 From: Ian Sutherland Date: Wed, 10 Jan 2018 19:25:14 -0700 Subject: [PATCH] Corrected yarn link instructions on How to Contribute page. (#511) --- content/docs/how-to-contribute.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/content/docs/how-to-contribute.md b/content/docs/how-to-contribute.md index 5dc7cfc9..8cbaf077 100644 --- a/content/docs/how-to-contribute.md +++ b/content/docs/how-to-contribute.md @@ -126,9 +126,9 @@ The easiest way to try your changes is to run `yarn build core,dom --type=UMD` a If you want to try your changes in your existing React project, you may copy `build/dist/react.development.js`, `build/dist/react-dom.development.js`, or any other build products into your app and use them instead of the stable version. If your project uses React from npm, you may delete `react` and `react-dom` in its dependencies and use `yarn link` to point them to your local `build` folder: ```sh -cd ~/path_to_your_react_clone/build/packages/react +cd ~/path_to_your_react_clone/build/node_modules/react yarn link -cd ~/path_to_your_react_clone/build/packages/react-dom +cd ~/path_to_your_react_clone/build/node_modules/react-dom yarn link cd /path/to/your/project yarn link react react-dom