A React component and accompanying tool for parsing and understanding an
arbitrary React component’s API by parsing it’s propTypes definition.
It will have the ability to provide an interface that includes the following information:
| /*eslint react/no-multi-comp:0, no-console:0*/ | |
| import React from '../'; | |
| import tweenState from 'react-tween-state'; | |
| const { | |
| Board, | |
| Led, | |
| mode, | |
| PropTypes, | |
| } = React; |
| import React from 'react'; | |
| import ReactHardware from '../'; | |
| const { | |
| Board, | |
| Led, | |
| } = ReactHardware; | |
| const HIGH = 255; | |
| const LOW = 0; |
| set nocompatible | |
| filetype off | |
| set rtp+=~/.vim/bundle/vundle/ | |
| call vundle#rc() | |
| " Let Vundle manage Vundle | |
| Bundle 'gmarik/vundle' | |
| " Define bundles via Github repos |
| var React = require('react'); | |
| class Form extends React.Component { | |
| constructor(props, context) { | |
| super(props, context); | |
| this.state = {description: ''}; | |
| } | |
| onChange(e) { |
| var path = require('path'); | |
| var suit = require('suitcss-preprocessor'); | |
| var rework = require('rework-webpack-loader'); | |
| var vars = require('rework-vars'); | |
| var webpack = require('webpack'); | |
| // hack to unbreak https://github.com/aaronj1335/rework-webpack-loader/blob/master/lib/plugins/urls.js#L41 | |
| var urlParse = require('url').parse; | |
| var mark = require('rework-webpack-loader/lib/mark'); | |
| rework.plugins.urls.processJs = function(js) { |
React has revolutionized the way we write user interfaces. It brings an extremely simple mental model to the authoring of UIs. React-native, react-canvas, and other projects have shown us that this model extends beyond the browser DOM.
I believe that this functional, predictable approach can also revolutionize how we build real-world user interfaces.
| 'use strict'; | |
| var React = require('react/addons'); | |
| function generateClasses(options) { | |
| return 'TODO: string' | |
| } | |
| var MediaImage = React.createClass({ | |
| render() { |