instrument.ts:132 Warning: Function components cannot be given refs. Attempts to access this ref will fail. Did you mean to use React.forwardRef()?
at App (http://localhost:5173/src/app.tsx?t=1696342121320:33:7)
(anonymous) @ instrument.ts:132
printWarning @ react-dom.development.js:86
error @ react-dom.development.js:60
validateFunctionComponentInDev @ react-dom.development.js:20193
mountIndeterminateComponent @ react-dom.development.js:20160
beginWork @ react-dom.development.js:21587
beginWork$1 @ react-dom.development.js:27426
performUnitOfWork @ react-dom.development.js:26557
workLoopSync @ react-dom.development.js:26466
renderRootSync @ react-dom.development.js:26434
performConcurrentWorkOnRoot @ react-dom.development.js:25738
workLoop @ scheduler.development.js:266
flushWork @ scheduler.development.js:239
performWorkUntilDeadline @ scheduler.development.js:533
instrument.ts:132 Warning: Function components cannot be given refs. Attempts to access this ref will fail. Did you mean to use React.forwardRef()?
Check the render method of App.
at ConfigProvider (http://localhost:5173/node_modules/.vite/deps/chunk-REEGOVGH.js?v=5e5a0711:7163:28)
at App (http://localhost:5173/src/app.tsx?t=1696342121320:33:7)
(anonymous) @ instrument.ts:132
printWarning @ react-dom.development.js:86
error @ react-dom.development.js:60
validateFunctionComponentInDev @ react-dom.development.js:20193
mountIndeterminateComponent @ react-dom.development.js:20160
beginWork @ react-dom.development.js:21587
beginWork$1 @ react-dom.development.js:27426
performUnitOfWork @ react-dom.development.js:26557
workLoopSync @ react-dom.development.js:26466
renderRootSync @ react-dom.development.js:26434
performConcurrentWorkOnRoot @ react-dom.development.js:25738
workLoop @ scheduler.development.js:266
flushWork @ scheduler.development.js:239
performWorkUntilDeadline @ scheduler.development.js:533
instrument.ts:132 Warning: Function components cannot be given refs. Attempts to access this ref will fail. Did you mean to use React.forwardRef()?
instrument.ts:132 Warning: Function components cannot be given refs. Attempts to access this ref will fail. Did you mean to use React.forwardRef()? at App (http://localhost:5173/src/app.tsx?t=1696342121320:33:7) (anonymous) @ instrument.ts:132 printWarning @ react-dom.development.js:86 error @ react-dom.development.js:60 validateFunctionComponentInDev @ react-dom.development.js:20193 mountIndeterminateComponent @ react-dom.development.js:20160 beginWork @ react-dom.development.js:21587 beginWork$1 @ react-dom.development.js:27426 performUnitOfWork @ react-dom.development.js:26557 workLoopSync @ react-dom.development.js:26466 renderRootSync @ react-dom.development.js:26434 performConcurrentWorkOnRoot @ react-dom.development.js:25738 workLoop @ scheduler.development.js:266 flushWork @ scheduler.development.js:239 performWorkUntilDeadline @ scheduler.development.js:533 instrument.ts:132 Warning: Function components cannot be given refs. Attempts to access this ref will fail. Did you mean to use React.forwardRef()?
Check the render method of
App
. at ConfigProvider (http://localhost:5173/node_modules/.vite/deps/chunk-REEGOVGH.js?v=5e5a0711:7163:28) at App (http://localhost:5173/src/app.tsx?t=1696342121320:33:7) (anonymous) @ instrument.ts:132 printWarning @ react-dom.development.js:86 error @ react-dom.development.js:60 validateFunctionComponentInDev @ react-dom.development.js:20193 mountIndeterminateComponent @ react-dom.development.js:20160 beginWork @ react-dom.development.js:21587 beginWork$1 @ react-dom.development.js:27426 performUnitOfWork @ react-dom.development.js:26557 workLoopSync @ react-dom.development.js:26466 renderRootSync @ react-dom.development.js:26434 performConcurrentWorkOnRoot @ react-dom.development.js:25738 workLoop @ scheduler.development.js:266 flushWork @ scheduler.development.js:239 performWorkUntilDeadline @ scheduler.development.js:533 instrument.ts:132 Warning: Function components cannot be given refs. Attempts to access this ref will fail. Did you mean to use React.forwardRef()?Check the render method of
App
. at App (http://localhost:5173/node_modules/.vite/deps/chunk-REEGOVGH.js?v=5e5a0711:15002:16) at FormProvider2 (http://localhost:5173/node_modules/.vite/deps/chunk-REEGOVGH.js?v=5e5a0711:5393:31) at LocaleProvider (http://localhost:5173/node_modules/.vite/deps/chunk-REEGOVGH.js?v=5e5a0711:5884:13) at SizeContextProvider (http://localhost:5173/node_modules/.vite/deps/chunk-REEGOVGH.js?v=5e5a0711:6920:5) at ProviderChildren (http://localhost:5173/node_modules/.vite/deps/chunk-REEGOVGH.js?v=5e5a0711:7045:5) at ConfigProvider (http://localhost:5173/node_modules/.vite/deps/chunk-REEGOVGH.js?v=5e5a0711:7163:28) at App (http://localhost:5173/src/app.tsx?t=1696342121320:33:7) (anonymous) @ instrument.ts:132 printWarning @ react-dom.development.js:86 error @ react-dom.development.js:60 validateFunctionComponentInDev @ react-dom.development.js:20193 mountIndeterminateComponent @ react-dom.development.js:20160 beginWork @ react-dom.development.js:21587 beginWork$1 @ react-dom.development.js:27426 performUnitOfWork @ react-dom.development.js:26557 workLoopSync @ react-dom.development.js:26466 renderRootSync @ react-dom.development.js:26434 performConcurrentWorkOnRoot @ react-dom.development.js:25738 workLoop @ scheduler.development.js:266 flushWork @ scheduler.development.js:239 performWorkUntilDeadline @ scheduler.development.js:533 instrument.ts:132 Warning: Function components cannot be given refs. Attempts to access this ref will fail. Did you mean to use React.forwardRef()?Check the render method of
App
. at Router (http://localhost:5173/src/router.tsx?t=1696342121320:89:11) at ErrorBoundary (http://localhost:5173/node_modules/.vite/deps/@sentry_react.js?v=5e5a0711:16521:5) at div at App (http://localhost:5173/node_modules/.vite/deps/chunk-REEGOVGH.js?v=5e5a0711:15002:16) at FormProvider2 (http://localhost:5173/node_modules/.vite/deps/chunk-REEGOVGH.js?v=5e5a0711:5393:31) at LocaleProvider (http://localhost:5173/node_modules/.vite/deps/chunk-REEGOVGH.js?v=5e5a0711:5884:13) at SizeContextProvider (http://localhost:5173/node_modules/.vite/deps/chunk-REEGOVGH.js?v=5e5a0711:6920:5) at ProviderChildren (http://localhost:5173/node_modules/.vite/deps/chunk-REEGOVGH.js?v=5e5a0711:7045:5) at ConfigProvider (http://localhost:5173/node_modules/.vite/deps/chunk-REEGOVGH.js?v=5e5a0711:7163:28) at App (http://localhost:5173/src/app.tsx?t=1696342121320:33:7) (anonymous) @ instrument.ts:132 printWarning @ react-dom.development.js:86 error @ react-dom.development.js:60 validateFunctionComponentInDev @ react-dom.development.js:20193 mountIndeterminateComponent @ react-dom.development.js:20160 beginWork @ react-dom.development.js:21587 beginWork$1 @ react-dom.development.js:27426 performUnitOfWork @ react-dom.development.js:26557 workLoopSync @ react-dom.development.js:26466 renderRootSync @ react-dom.development.js:26434 performConcurrentWorkOnRoot @ react-dom.development.js:25738 workLoop @ scheduler.development.js:266 flushWork @ scheduler.development.js:239 performWorkUntilDeadline @ scheduler.development.js:533 instrument.ts:132 Warning: Function components cannot be given refs. Attempts to access this ref will fail. Did you mean to use React.forwardRef()?别人有遇到这个问题吗?