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.1.0.tbz
sha256=74e2877586bf3ee984ade800636affaadd08273d4c997bdd92dccc0e4ddffc71
sha512=49eb112d8155c14fb075b3b2da3d7261bbedad71a0d79ee995bb1cecf4b25d7edcb7a4ee5e7774fe46daa62242ba8ee08c5eb5a33948b59e01f1243ab7a43f4c
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: 04 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