package react-rules-of-hooks-ppx
- Overview
- No Docs
You can search for identifiers within the package.
in-package search v0.2.0
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>
On This Page
This ppx validates the rules of React hooks in reason-react components
Install
dune-project
Dependency
Authors
Maintainers
Sources
react-rules-of-hooks-ppx-1.2.0.tbz
sha256=ee569398e9fde0d18c694c1a13be0bcdbbb0df7ffb4d2844d908c645e1c20b3c
sha512=f8e178d0be3e5b39cf070e2bd35c838c563947829f6e8a4b15bf8ba59a2b324918d169c52e5a4651d0c84d883e404d430502d893b16a6a219789c95b1a6bcd5a
Description
Validates exhaustive dependencies in useEffect, useLayoutEffect, useInsertionEffect, useCallback, useMemo and ensures hooks are called at the top level, never conditionally or inside loops.
Published: 19 Feb 2026
Dev Dependencies (8)
-
odoc
with-doc -
ocamlmerlin-mlx
with-dev-setup -
ocamlformat-mlx
with-dev-setup -
mlx
with-test | with-dev-setup -
ocaml-lsp-server
with-dev-setup -
ocamlformat
with-dev-setup -
melange
with-dev-setup -
reason
with-test & >= "3.10.0"
Used by
None
Conflicts
None
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>
On This Page