79463180

Date: 2025-02-24 10:28:48
Score: 1.5
Natty:
Report link

Coming to news here, did anyone successfully plugged Antd with Remix since? I tried EVERYTHING I found online, whole export, on demand, in the root's loader, in a ressource route, in a script that generates a file, in the server.entry, ... It all stop working as soon as I implement a configProvider with a custom theme. I get a warning about a useLayoutEffect problem in extractStyle (which was supposed to be solved in an antd updates?), the custom theme doesn't load, and I get an very noticeable FOUC. I also searched Github's public repo but I didn't find any working example that successfully used a custom theme with SSR.

Reasons:
  • Long answer (-0.5):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Low reputation (1):
Posted by: Alexandre Robert