摘要:
http://caibaojian.com/react/usage-with-react.html 阅读全文
摘要:
import React, { Component } from 'react'; import { render } from 'react-dom'; class GroceryList extends Component { handleClick(i) { console.log('You clicked: ' + this.props.items[i]); } ... 阅读全文