Skip to content

Commit dbfcafb

Browse files
Merge pull request transitive-bullshit#200 from dylanklohr/patch-1
Update readme.md to correct grammar issues
2 parents af54ac3 + 3fd5cfb commit dbfcafb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

readme.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ This creates a production build of the example `create-react-app` that showcases
114114

115115
## Use with React Hooks
116116

117-
If you use [react-hooks](https://reactjs.org/docs/hooks-intro.html) in your project, when you debug you example you may run into a exception [Invalid Hook Call Warning](https://reactjs.org/warnings/invalid-hook-call-warning.html). This [issue](https://github.com/facebook/react/issues/14257) explain the reason, your lib and example use different instance, one solution is rewrite the `react` path in your example `package.json` to 'file:../node_modules/react' or 'link:../node_modules/react'.
117+
If you use [react-hooks](https://reactjs.org/docs/hooks-intro.html) in your project, when you debug your example you may run into an exception [Invalid Hook Call Warning](https://reactjs.org/warnings/invalid-hook-call-warning.html). This [issue](https://github.com/facebook/react/issues/14257) explains the reason, your lib and example use a different instance, one solution is rewrite the `react` path in your example's `package.json` to 'file:../node_modules/react' or 'link:../node_modules/react'.
118118

119119
## Examples
120120

0 commit comments

Comments
 (0)