CodeSandbox
Pass a ref to a child component using forwardRef()
P
phuoc-ng
8.1k
0
2
Edit Sandbox
Files
.codesandbox
public
src
App.jsx
Uploader.jsx
index.js
styles.css
.eslintrc.json
package.json
Dependencies
react
18.2.0
react-dom
18.2.0
react-scripts
5.0.1
External Resources
Open Sandbox
index.js
Console
0
Problems
0
React DevTools
0
All
Info
Warning
Error
Debug