Naman Goel
Naman Goel
Yup. Need to tweak some settings to remove the inject calls and add a settings screen to tweak the resolution mode.
Much better output: https://stylex-6piprzpqr-fbopensource.vercel.app/playground/
> How do we test this locally? I get this error that prevents the output showing I finally figured this out. As long as you `npm run build && npm...
> once unpacked by the browser the minified size matters We can pack this into smaller string expressions, but it's hard to do that while maintaining className order. We used...
> Seeing all this JS to null out properties is kinda 😬 Here are the plans to improve this situation: 1. More fine-grained pre-computation. Currently the entire `styles` constant is...
Yes. This is a known issue with the Nextjs Plugin. For now, that one CSS file is required. Use it for global styles and resets.
All yours @timwehrle. There are many problems with the NextJS plugin. Try to fix them in separate small PRs. Here's an (incomplete) list: 1. Need for a CSS file 2....
@timwehrle I think generating a CSS file when it doesn't exist is probably what we want. This should be possible by importing a virtual module or something like that. But...
Thanks for working on this!
@timwehrle Yes. Both of those are currently blocked on changes to the Babel plugin that I will be making. I wrote an RFC about it in Github Discussions https://github.com/facebook/stylex/discussions/111 Also,...