npm stats
  • Search
  • About
  • Repo
  • Sponsor
  • more
    • Search
    • About
    • Repo
    • Sponsor

Made by Antonio Ramirez

react-factory

1.0.0

@yoshuawuyts

npmHomeRepoSnykSocket
Downloads:0
$ npm install react-factory
DailyWeeklyMonthlyYearly

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

  • The source of eternal grief

License

MIT