primereact
                                
                                 primereact copied to clipboard
                                
                                    primereact copied to clipboard
                            
                            
                            
                        Core: SSR with NextJS "edge" runtime removes styles
Describe the bug
When using the "edge" runtime on a NextJS page route, console shows this warning and all styles are removed:
Removing the "edge" runtime solves the issue:
Reproducer
https://github.com/zawasp/primereact-nextedge
PrimeReact version
10.6.3
React version
18.x
Language
TypeScript
Build / Runtime
Next.js
Browser(s)
No response
Steps to reproduce the behavior
Just add export const runtime = "edge"; to any NextJS page containing a PrimeReact component.
Expected behavior
Styles should be preserved and no errors shown.
Same here, need export const runtime = "edge"; to deploy on Cloudflare 😞