react-hoc-helpers
TypeScript icon, indicating that this package has built-in type declarations

0.1.19 • Public • Published

react-hoc-helpers

npm NPM npm Coveralls github CircleCI Snyk Vulnerabilities for GitHub Repo

🧰 Collection—well, just one for now—of helpful utilities and helpers for when working with React higher-order components (HOC).

I kept copying the same file between multiple packages/repos and it just felt redundant to have to go about exporting and building a file that was just a copy. Sorry, but one more npm package lives because of my lazyness.

Install

Via npm

npm install --save react-hoc-helpers

Via Yarn

yarn add react-hoc-helpers

Helpers

  • getDisplayName(Component): string - Returns the name of the Comonent being wrapped.

License

MIT © Ryan Hefner

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 0.1.19
    1,089
    • latest

Version History

Package Sidebar

Install

npm i react-hoc-helpers

Weekly Downloads

1,090

Version

0.1.19

License

MIT

Unpacked Size

9.71 kB

Total Files

12

Last publish

Collaborators

  • ryanhefner