https://github.com/ryanhefner/react-hoc-helpers
🧰 Collection of helpful utilities and helpers for when working with React higher-order components (HOC).
https://github.com/ryanhefner/react-hoc-helpers
Last synced: 4 months ago
JSON representation
🧰 Collection of helpful utilities and helpers for when working with React higher-order components (HOC).
- Host: GitHub
- URL: https://github.com/ryanhefner/react-hoc-helpers
- Owner: ryanhefner
- License: mit
- Created: 2019-08-23T15:29:26.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2025-05-12T00:53:25.000Z (about 1 year ago)
- Last Synced: 2025-09-27T08:59:32.089Z (8 months ago)
- Language: JavaScript
- Homepage: https://www.pkgstats.com/pkg:react-hoc-helpers
- Size: 859 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- Funding: .github/FUNDING.yml
- License: LICENSE
Awesome Lists containing this project
README
# react-hoc-helpers
[](https://www.pkgstats.com/pkg:react-hoc-helpers)
[](https://www.pkgstats.com/pkg:react-hoc-helpers)
[](https://www.pkgstats.com/pkg:react-hoc-helpers)
[](https://coveralls.io/github/ryanhefner/react-hoc-helpers)


🧰 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](https://npmjs.com/package/react-hoc-helpers)
```sh
npm install --save react-hoc-helpers
```
Via [Yarn](https://yarn.fyi/react-hoc-helpers)
```sh
yarn add react-hoc-helpers
```
## Helpers
* `getDisplayName(Component): string` - Returns the name of the Comonent being wrapped.
## License
[MIT](LICENSE) © [Ryan Hefner](https://www.ryanhefner.com)