Package Exports
- @hocs/with-debugger
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@hocs/with-debugger) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
🔍 with-debugger
Part of a collection of Higher-Order Components for React, especially useful with Recompose.
Injects debugger into render.
Install
yarn add @hocs/with-debuggerUsage
withDebugger: HigherOrderComponentimport 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);