Socket
Book a DemoInstallSign in
Socket

react-factory

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-factory

`react.createFactory` wrapper because we hate long names.

latest
Source
npmnpm
Version
1.0.0
Version published
Maintainers
1
Created
Source

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

Keywords

react

FAQs

Package last updated on 06 Nov 2014

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts