Inferno 3.8.2 已发布,该版本修复了由于积累的 bug 导致的错误构建问题。详情 Inferno 是一个极其快速,类似 React 的 JavaScript 库,用于构建现代用户界面。 示例: class MyInfernoTest extends Component { constructor(props, context) { super(props, context); this.state = { time: null }; } componentDidMount() { setInterval(() => { this.setState({ time: (new Date()).toLocaleString() }); }, 200); } render() { return <h2> Current time: <span>{this.state.time}</span> </h2> } } export default MyInfernoTest; 支持浏览器: 下载地址: Source code (zip) Source code (tar.gz) Inferno 3.8.2 发布,JavaScript 用户界面库下载地址