Skip to content

Commit f3e0bb1

Browse files
committed
docs: Unify link
1 parent 7d35da6 commit f3e0bb1

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

README.md

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,12 @@
11
# react-rules-of-hooks-ppx
22
This package is a no-op ppx rewriter. It is used as a 'lint' to
3-
enforce the rules of React hooks.
3+
enforce React's [Rules of Hooks](https://en.reactjs.org/docs/hooks-rules.html).
44

55
- [x] Exhaustive dependencies in useEffect
66
- [x] Order of Hooks
77
- [x] Hooks shoudn't be called in different order
88
- [x] Only Call Hooks at the Top Level
99

10-
Read more about the [Rules of Hooks](https://en.reactjs.org/docs/hooks-rules.html)
11-
1210
## Why
1311
One of the points of using [Reason](https://reasonml.github.io) or [ReScript](https://rescript-lang.org) is to have a compiler that warns about issues with your code, where functions expect different structures from the given ones and any sort of missmatch between interfaces. This works amazingly well, but I found a case where the compiler can't validate that your code works as expected.
1412

0 commit comments

Comments
 (0)