You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I was following this example for my own app and I noticed when I remove the Supsense, the flickering goes away. Therefore, I propose removing the Suspense from the example.
…flicker
The <Suspense> component wrapping the body in the i18n-nextjs example caused a flicker on initial load. Removing this component resolves the flicker.
Fixesrefinedev#6813
Describe the bug
This Suspense here seems to mess up the app styling for about half a second on load.
refine/examples/i18n-nextjs/src/app/layout.tsx
Line 33 in 39dff27
I was following this example for my own app and I noticed when I remove the Supsense, the flickering goes away. Therefore, I propose removing the Suspense from the example.
Steps To Reproduce
npm create refine-app@latest -- --example i18n-nextjs
npm run dev
localhost:3000
in the browserExpected behavior
It should be styled but in a loading state.
Packages
i18n-nextjs
Additional Context
No response
The text was updated successfully, but these errors were encountered: