atlassian-labs / compiled

A familiar and performant compile time CSS-in-JS library for React.
https://compiledcssinjs.com
Apache License 2.0
1.98k stars 68 forks source link

Next.js 13+ support? #1610

Open hyoretsu opened 8 months ago

hyoretsu commented 8 months ago

Does it play nicely with the new App Router, Server Components and whatnot? I recently found myself forced to migrate to Sass because all other CSS-in-JS libs either didn't work or had cons with the new direction React's going to.

dddlr commented 7 months ago

Hi @hyoretsu thank you for the question. Next.js support isn't currently on our roadmap, and it's not something we've looked into or tested at this stage - it might work, but not too sure 😅 We'll let you know if this changes though

miloofcroton commented 4 months ago

@hyoretsu I'm curious how you're doing with this. I've gotten it to work in Nextjs without too much trouble, but I'm currently trying to get it work in the combination of Nextjs + Compiled + Jest.