baihongyu.com
博客
关于我
强烈建议你试试无所不能的chatGPT,快点击我
react(10)——三大属性state,props,refs,总结其特点
阅读量:
307 次
发布时间:
2019-03-04
本文共 61 字,大约阅读时间需要 1 分钟。
state
组件内部定义的属性
props
从组件外部传入的数据,当调用该组件时,标签上的数据
refs
组件内部的标识符
转载地址:http://hseq.baihongyu.com/
你可能感兴趣的文章