随笔分类 - reactJS+react native
摘要:
//写法一 等价于写法二 const MyComponent = () => { //... } //写法二 const MyComponent: React.FC = () => { //... }
阅读全文
//写法一 等价于写法二 const MyComponent = () => { //... } //写法二 const MyComponent: React.FC = () => { //... }
阅读全文
摘要:1.使用React Native开发iOS应用需要OSX系统,Xcode,Homebrew,node,npm以及watchman。2. js与OC交互共11个步骤。
阅读全文
摘要:1. 需要IOS的基础知识。2. JSX语法3. 虚拟DOM、单向数据注入(虚拟 DOM 到真实 DOM)4. react知识view,可以配合其他类库使用5. 重要方法: a. render();——返回一些列的组件。 b.this.props ;——获取父组件传递给子组件的数据。 c.this....
阅读全文

浙公网安备 33010602011771号