With this approach, you can call functions in components from outside. 1. Create a ref with React.createRef. const ref = React.createRef();. 2. Pass the ref to ...
確定! 回上一頁