zoukankan      html  css  js  c++  java
  • 学以致用,react学习前奏准备阶段

    ReactJS:支持React开发,提供JSX代码提示,高亮显示,ReactJS官方介绍


    1、cdm→  componentDidMount: fn() { ... }

     
    cdm

    2、cdup→  componentDidUpdate: fn(pp, ps) { ... }

     
    cdup

    3、cs→  var cx = React.addons.classSet;

     
    cs

    4、cwm→  componentWillMount: fn() { ... }

     
    cwm

    5、cwr→  componentWillReceiveProps: fn(np) { ... }

     
    cwr

    6、cwu→  componentWillUpdate: fn(np, ns) { ... }

     
    cwu

    7、cwun→  componentWillUnmount: fn() { ... }

     
    cwun

    8、cx→  cx({ ... })

     
    cx

    9、fdn→  React.findDOMNode(...)

     
    fdn

    10、fup→  forceUpdate(...)

     
    fup

    11、gdp→  getDefaultProps: fn() { return {...} }

     
    gdp

    12、gis→  getInitialState: fn() { return {...} }

     
    gis

    13、ism→  isMounted()

     
    ism

    14、props→  this.props.

     
    props

    15、pt→  propTypes { ... }

     
    pt

    16、rcc→  component skeleton

     
    rcc

    17、refs→  this.refs.

     
    refs

    18、ren→  render: fn() { return ... }

     
    ren

    19、scu→  shouldComponentUpdate: fn(np, ns) { ... }

     
    scu

    20、sst→  this.setState({ ... })

     
    sst

    21、state→  this.state.

     
    state


    作者:Loki_
    链接:https://www.jianshu.com/p/45ac37cc0e34
    来源:简书
    著作权归作者所有。商业转载请联系作者获得授权,非商业转载请注明出处。
  • 相关阅读:
    JavaScript 进阶篇的学习~
    JavaScript 基础的复习~
    JVM字节码解析
    Tomcat压力测试与优化方案
    Tomcat优化
    JVM垃圾收集器
    JVM的垃圾回收机制(GC)
    JVisual VM工具使用
    jstack监控JVM线程的运行情况
    监控JVM内存使用情况
  • 原文地址:https://www.cnblogs.com/GGbondLearn/p/12115316.html
Copyright © 2011-2022 走看看