package react-rules-of-hooks-ppx

  1. Overview
  2. No Docs
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

Dependencies (3)

  1. ppxlib >= "0.36.0"
  2. ocaml >= "4.14"
  3. dune >= "3.16"

Dev Dependencies (8)

  1. odoc with-doc
  2. ocamlmerlin-mlx with-dev-setup
  3. ocamlformat-mlx with-dev-setup
  4. mlx with-test | with-dev-setup
  5. ocaml-lsp-server with-dev-setup
  6. ocamlformat with-dev-setup
  7. melange with-dev-setup
  8. reason with-test & >= "3.10.0"

Used by

None

Conflicts

None