Component Register React
This is a Component Register HOC (decorator/mixin) to support React Components. Component props are passed through as React props.
import register compose from 'component-register'import withReact from 'component-register-react'import React Component from 'react' // Normal React Component { thisstate = greeting: 'Hello' } { return <div>thisstategreeting + ' ' + thispropsrecipient</div> } withReactMyComponent
This library also supports Stateless pure function components.