(I also left the same comment here, on the AntDesign 5 release issue)
Does anyone have problems with the new release of AntDesign's cssinjs(v1.3.1) in Next.js?
It seems the page loads without any styles and after a split second, the page loads the styles and everything is ok. But it's really annoying to see that split second of an un-styled app 😢 I still have a yarn.lock file with cssinjs v1.1.0 and I created this video to show the difference (pay attention at the reload button to see when I refresh the page):
Before (using a yarn.lock file that requires cssinjss v.1.1.0):
(I also left the same comment here, on the AntDesign 5 release issue)
Does anyone have problems with the new release of AntDesign's cssinjs(v1.3.1) in Next.js?
It seems the page loads without any styles and after a split second, the page loads the styles and everything is ok. But it's really annoying to see that split second of an un-styled app 😢 I still have a yarn.lock file with cssinjs v1.1.0 and I created this video to show the difference (pay attention at the reload button to see when I refresh the page):
Before (using a yarn.lock file that requires cssinjss v.1.1.0):
https://user-images.githubusercontent.com/4083652/209832444-09c821a1-164e-4c6a-be07-dc8d014db72c.mov
After (using the latest version of AntDesign which comes with cssinjs v.1.31):
https://user-images.githubusercontent.com/4083652/209832621-f0f42463-fd0e-4a4a-b85a-2c88f0d4544b.mov
In case anyone wants to test this, here is the info from the yarn.lock file that sets the version for cssinjs: