Is this warning expected in CSR-only environments with lazy routes? ( * HydrateFallback Error ) #10622
Unanswered
nayeonkim910
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi React Router team,
I'm encountering the following warning in my React application, even though I'm using a fully client-side rendering (CSR) setup:
No 'HydrateFallback' element provided to render during initial hydration
I'm using [email protected] (also tried 7.5.2 For Fix this error, but failed).
I'm using createBrowserRouter and RouterProvider, with fallbackElement set for lazy routes
The app is rendered with ReactDOM.createRoot, not hydrateRoot.
I've tried the following:
Despite this, the warning persists, even though all routes load and render correctly.
❓Is this warning expected in CSR-only environments with lazy routes?
❓Is there a recommended workaround or a fix planned ? 🙏🙏🙏🙏
Beta Was this translation helpful? Give feedback.
All reactions