🌈 搜索
📅  最后修改于: 2022-03-11 14:50:10.436000             🧑  作者: Mango
State is can be declare only in class if u want to declare in functional component use method useState();