【react-hooks】useRef、createRef、useState、useContext、useReducer
react-hooksuseStateuseRefuseState与useRef区别useRef与createRef的区别useContextuseReduceruseState使用const[count,setCount]=useState(0);useRef使用##############letinputEl=useRef()#############inputEl.current.value