Skip to content

Commit 6158ab4

Browse files
iansugaearon
authored andcommitted
Corrected yarn link instructions on How to Contribute page. (#511)
1 parent fdf409a commit 6158ab4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

content/docs/how-to-contribute.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -126,9 +126,9 @@ The easiest way to try your changes is to run `yarn build core,dom --type=UMD` a
126126
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:
127127

128128
```sh
129-
cd ~/path_to_your_react_clone/build/packages/react
129+
cd ~/path_to_your_react_clone/build/node_modules/react
130130
yarn link
131-
cd ~/path_to_your_react_clone/build/packages/react-dom
131+
cd ~/path_to_your_react_clone/build/node_modules/react-dom
132132
yarn link
133133
cd /path/to/your/project
134134
yarn link react react-dom

0 commit comments

Comments
 (0)