imr→
import React from 'react'
imr→
import React, { Component } from 'react'
imr→
import React, { Component } from 'react' & import PropTypes from 'prop-types'
imrpc→
import React, { PureComponent } from 'react'
imrpcp→
import React, { PureComponent } from 'react' & import PropTypes from 'prop-types'
redux→
import { connect } from 'react-redux'
rconst→
constructor(props) with this.state
rconc→
constructor(props, context) with this.state
est→
this.state = { }
cwm→
componentWillMount = () => { } DEPRECATED!!!
cdm→
componentDidMount = () => { }
cwr→
componentWillReceiveProps = (nextProps) => { } DEPRECATED!!!
scu→
shouldComponentUpdate = (nextProps, nextState) => { }
cwup→
componentWillUpdate = (nextProps, nextState) => { } DEPRECATED!!!
cdup→
componentDidUpdate = (prevProps, prevState) => { }
cwun→
componentWillUnmount = () => { }
cwun→
componentWillUnmount = () => { }
gdsfp→
static getDerivedStateFromProps(nextProps, prevState) { }
gsbu→
getSnapshotBeforeUpdate = (prevProps, prevState) => { }
ren→
render() { return( ) }
sst→
this.setState({ })
ssf→
this.setState((state, props) => return { })
props→
propName
state→
this.state.stateName
rcontext→
const ${1:contextName} = React.createContext()
cref→
this.${1:refName}Ref = React.createRef()
fref→
const ref = React.createRef()
bnd→
this.methodName = this.methodName.bind(this)
Comments