Server-Side Rendering CSS Delay with @ant-design/nextjs-registry #47138
hamedyosefian
started this conversation in
General
Replies: 1 comment
-
Upgrade antd version from |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
On the initial page load, the page appears without any Ant Design styles applied. The correct styling is only applied after a noticeable delay, leading to a flickering effect and a poor user experience. This behavior suggests an issue with server-side rendering of CSS when using @ant-design/nextjs-registry.
When use await for server fetch data has this problem
i test it and when loading.jsx file this problem and when remove that file everthing is ok
and layout code is this :
This code has delay:
This code is ok:
Beta Was this translation helpful? Give feedback.
All reactions