@hocs/with-debugger

0.4.0 • Public • Published

🔍 with-debugger

npm ci coverage deps

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

Injects debugger into render.

Install

yarn add @hocs/with-debugger

Usage

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

const Demo = () => (
  <h1>Hi</h1>
);

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

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 0.4.0
    1
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 0.4.0
    1
  • 0.3.0
    0
  • 0.2.0
    0
  • 0.1.0
    0

Package Sidebar

Install

npm i @hocs/with-debugger

Weekly Downloads

1

Version

0.4.0

License

MIT

Unpacked Size

3.77 kB

Total Files

5

Last publish

Collaborators

  • hocs