-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Using @navita/css without an adapter #32
Comments
Hi! Thank you for your kind words @paulm17! I've missed your issue completely - sorry! Running Eventually I could see myself building support for a runtime adapter. I can definitely see the use case for it. If you need an adapter we don't support today, I'm willing to add it. To answer your questions:
I use Navita in a few very large projects, mainly in Next.js-projects. And it has first class support for Next.js. |
@Zn4rK Thanks for the reply! Appreciate it. Good to hear about 1 and 2. Re: an adapater. I think it's better to hold off for now. Whilst StyleX due to design decisions isn't a great fit for my needs. Griffel https://github.com/microsoft/griffel with RSC support should be fine. If not. Then perhaps I'll take another look at @Navita and go from there. I'll close this issue now. |
👍 Sounds like a plan! Let me know if you run in to any problems if you do decide to try out Navita! One important USP that Navita has is that it does not require you to use the same transpilation steps that your framework uses. This project does have an swc-plugin, but you don't have to use swc to use it. Navita will take care of that. I plan on replacing swc with oxc and ezno at some point for more speed and even better static code extraction. |
This looks like an interesting project so I thought I'd give it a go for a use case of mine.
I'm building a component library which would then use
@navita/css
to then generate the css for the component.In the application, component is imported and styles would be overridden using
@navita/css
. Moreover, it would be a case of last object wins.2 questions:
@navita/css
within the component lib, however I get the errorError: Could not find an adapter. Please ensure you have added a bundler integration:
Is it possible to run
@navita/css
without an adapter present? In this case, only react is present.Here is an example from pandacss: https://panda-playground.vercel.app/tZQo-P_psO
Thanks
The text was updated successfully, but these errors were encountered: