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.0.0.tbz
sha256=6b7fdca0f32c2f05f1480db5a0b85e0726cdb1ed3d7136054a4071b4d41a8188
sha512=18b51e6a70b6cfa31cc00e8f5601ed6fe85456c5388dc41f1cc7ed21830b8ca737f3e1dff47f8736aa5553b0e463f6f8dcac165e328b5c0a1590507e1bd3ed3d
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: 29 Jan 2026
Dev Dependencies (8)
-
odoc
with-doc -
ocamlmerlin-mlx
with-dev-setup -
ocamlformat-mlx
with-dev-setup -
mlx
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