摘要: jsx: 表达式 1 jsx 本身是一种表达式: const element = <h1> Hello world </h1> 2 属性表达式: <MyComponent foo={1 + 2 + 3 + 4 + 5} /> 3 延展表达式: const progs = {firstName: "B 阅读全文
posted @ 2020-04-20 08:03 countryboy666 阅读(76) 评论(0) 推荐(0) 编辑