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.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

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