我使用 vite 和 reactjs ,当我在代码中更改某些内容时,我看不到更改,我只看到页面刷新并且什么都不渲染(白页)和控制台中的错误
helpers.ts:111 Uncaught ReferenceError: Cannot access 'ConnectedContext' before initialization
at SignIn (index.tsx:54)
at renderWithHooks (react-dom.development.js:14803)
at updateFunctionComponent (react-dom.development.js:17034)
at beginWork (react-dom.development.js:18610)
at HTMLUnknownElement.callCallback2 (react-dom.development.js:188)
at HTMLUnknownElement.sentryWrapped (helpers.ts:87)
at Object.invokeGuardedCallbackDev (react-dom.development.js:237)
at invokeGuardedCallback (react-dom.development.js:292)
at beginWork$1 (react-dom.development.js:23203)
at performUnitOfWork (react-dom.development.js:22154)
at workLoopSync (react-dom.development.js:22130)
at performSyncWorkOnRoot (react-dom.development.js:21756)
at react-dom.development.js:11089
at unstable_runWithPriority (scheduler.development.js:653)
有什么帮助吗?