Skip to content

yoshuawuyts/react-factory

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

react-factory

NPM version Downloads

react.createFactory wrapper because we hate long names. You need to provide your own version of react though, we're not bundling any in here for you.

Installation

npm install react-factory

Usage

var factory = require('react-factory');
var myComponent = factory(require('./path/to/myComponent'));

Why?

0.12 introduced breaking changes for us non-jsx users, and we don't like long names so that's why.

See also

License

MIT

About

`react.createFactory` wrapper because we hate long names

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages