yokiizx README
A collection of code snippets for daily use.
Features
简单快捷键
clg
console.log()
con
const $1 = $0
cond
const $0 = $1
econ
export const $1 = $0
sto
setTimeout(() => {}, time)
sti
setInterval(() => {}, time)
箭头函数
fn
() => {}
nfn
name = () => {}
简单注释
普通注释: des
/**
* @description: description
*/
函数描述: dfn
/**
* description
* @param {type} : name
* @return {type} : name
*/
头部注释: she
/**
* @description : description
* @date : 2021-07-15 10:23:28
* @author : name
*/
分割线: line
/* -------------------------- desc -------------------------- */
react
us
const [var,setvar] = useState(init)
ue
useEffect(() => {})
Enjoy!
| |