Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/skratchdot/react-element-factory
a few react helpers for the changes from React v0.11.0 to v0.12.0
https://github.com/skratchdot/react-element-factory
Last synced: about 1 month ago
JSON representation
a few react helpers for the changes from React v0.11.0 to v0.12.0
- Host: GitHub
- URL: https://github.com/skratchdot/react-element-factory
- Owner: skratchdot
- License: mit
- Created: 2014-10-29T17:59:19.000Z (about 10 years ago)
- Default Branch: master
- Last Pushed: 2014-10-29T18:21:10.000Z (about 10 years ago)
- Last Synced: 2024-10-19T00:24:38.364Z (3 months ago)
- Language: JavaScript
- Size: 117 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE-MIT
Awesome Lists containing this project
README
# react-element-factory
A few react helpers for the changes from React v0.11.0 to v0.12.0
## Getting Started
Install the module with: `npm install --save react-element-factory`
```javascript
var React = require('react');h1(); // doesn't exist
// add html/svg elements to global scope
require('react-element-factory')(this);h1(); // now it exists
```## Dev Info
```bash
git clone [email protected]:skratchdot/react-element-factory.git
cd react-element-factory
# to re-generate elements
node ./scripts/generate-elements.js
# to re-generate index.js
node ./scripts/generate-index.js
```## Links
- https://news.ycombinator.com/item?id=8522695
- https://gist.github.com/deadlyicon/da8c020662ea8e6002dc## License
Copyright (c) 2014 skratchdot
Licensed under the MIT license.