An open API service indexing awesome lists of open source software.

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.

Awesome Lists containing this project

README

          

# react-decorate

[![npm version](https://img.shields.io/npm/v/react-decorate.svg?style=flat-square)](https://www.npmjs.com/package/react-decorate)
[![build status](https://img.shields.io/travis/HubSpot/react-decorate/master.svg?style=flat-square)](https://travis-ci.org/HubSpot/react-decorate)
[![npm downloads](https://img.shields.io/npm/dm/react-decorate.svg?style=flat-square)](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/).