Debugger HOC for React and React Native


stars 🌟issues ⚠️updated 🛠created 🐣size 🏋️‍♀️
1,78916May 25, 2021Jul 31, 2017Minified + gzip package size for @hocs/with-debugger in KB


:mag: with-debugger

npm ci coverage deps

Part of a collection of Higher-Order Components for React, especially useful with Recompose.

Injects debugger into render.


yarn add @hocs/with-debugger


withDebugger: HigherOrderComponent
import React from 'react';
import { compose, withProps } from 'recompose';
import withDebugger from '@hocs/with-debugger';

const Demo = () => (

export default compose(
  withProps({ a: 1, b: 2, c: 3 }),

If you find any bugs or have a feature request, please open an issue on github!

The npm package download data comes from npm's download counts api and package details come from npms.io.