https://github.com/hubspot/react-decorate
Build composable, stateful decorators for React.
https://github.com/hubspot/react-decorate
Last synced: 9 months ago
JSON representation
Build composable, stateful decorators for React.
- Host: GitHub
- URL: https://github.com/hubspot/react-decorate
- Owner: HubSpot
- License: mit
- Created: 2016-02-20T16:57:10.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2016-06-09T01:48:34.000Z (about 10 years ago)
- Last Synced: 2025-09-18T13:21:42.472Z (10 months ago)
- Language: JavaScript
- Homepage: http://github.hubspot.com/react-decorate
- Size: 578 KB
- Stars: 16
- Watchers: 144
- Forks: 4
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# react-decorate
[](https://www.npmjs.com/package/react-decorate)
[](https://travis-ci.org/HubSpot/react-decorate)
[](https://www.npmjs.com/package/react-decorate)
`react-decorate` is a framework for building compatible, composable, efficient decorators for applying behavior to [React](http://facebook.github.io/react/) components.
Many libraries use higher-order-component decorators to help users apply behavior to [React](http://facebook.github.io/react/) components.
`react-decorate` aims to establish a standard pattern for building higher-order-component decorators in such a way that they can be composed efficiently without adding one new component instance per decorator.
To learn more read [the docs](http://github.hubspot.com/react-decorate/).