Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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: about 1 month 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 (about 5 years ago)
- Default Branch: master
- Last Pushed: 2023-07-13T14:30:19.000Z (over 1 year ago)
- Last Synced: 2024-10-05T18:16:45.704Z (about 2 months ago)
- Language: JavaScript
- Homepage: https://www.pkgstats.com/pkg:react-hoc-helpers
- Size: 719 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- Funding: .github/FUNDING.yml
- License: LICENSE
Awesome Lists containing this project
README
# react-hoc-helpers
[![npm](https://img.shields.io/npm/v/react-hoc-helpers?style=flat-square)](https://www.pkgstats.com/pkg:react-hoc-helpers)
[![NPM](https://img.shields.io/npm/l/react-hoc-helpers?style=flat-square)](https://www.pkgstats.com/pkg:react-hoc-helpers)
[![npm](https://img.shields.io/npm/dt/react-hoc-helpers?style=flat-square)](https://www.pkgstats.com/pkg:react-hoc-helpers)
[![Coveralls github](https://img.shields.io/coveralls/github/ryanhefner/react-hoc-helpers?style=flat-square)](https://coveralls.io/github/ryanhefner/react-hoc-helpers)
![CircleCI](https://img.shields.io/circleci/build/github/ryanhefner/react-hoc-helpers?style=flat-square)
![Snyk Vulnerabilities for GitHub Repo](https://img.shields.io/snyk/vulnerabilities/github/ryanhefner/react-hoc-helpers?style=flat-square)🧰 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)