Skip to content

v1.0.0

Compare
Choose a tag to compare
@Oblosys Oblosys released this 03 Nov 13:43
· 106 commits to main since this release
4b4bd1c

Features

  • Trace support for:
    • useCallback
    • useContext
    • useEffect
    • useInsertionEffect
    • useLayoutEffect
    • useMemo
    • useRef
    • useState
  • TracePanel component that shows used hooks and current values for props, state & refs.
  • Interactive TraceLog component that highlights trace origin in corresponding panel when hovering over traces.
  • Support for custom hook labels.
  • The useTracer hook takes an optional showProps function to customize how props appear in the log & trace panels.
  • Hooks that keep track of a value (useContext, useMemo, useRef, and useState) accept an optional show function.
  • Custom trace function to log messages to trace-log.
  • Support for tracing to the browser console.
  • Fully typed.
  • Package contains both ESM & CommonJS modules.