摘要:
1.1constructor() constructor()中完成了React数据的初始化,它接收两个参数:props和context,当想在函数内部使用这两个参数时,需要使用super()传入这两个参数 1.2 componentWillMount() componentWillMout()一般用 阅读全文
posted @ 2020-10-29 09:22
前端学习者+
阅读(383)
评论(0)
推荐(0)
浙公网安备 33010602011771号