Any updates for StyleX 0.10.0 #170
derekjwilliams
started this conversation in
General
Replies: 1 comment 4 replies
-
Hi @derekjwilliams, The features and fixes from As for |
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
This is an amazing set of packages, thanks so much
Just saw that StyleX 0.10.0 dropped (January 2, 2025). Any updates needed for this version?
I'm using version 0.5.1 of the packages, which seems to be working fine, package.json files:
My next.config.js (I'm also using open-props):
Yes, I haveApparently StyleX 0.10.0 does not needunstable_moduleResolution
in there twice, only one should be present, but the docs for ...still has this.unstable_moduleResolution.rootDir
any more, so I think this can be removed?Edit, removed a second
unstable_moduleResolution
, which was an error on my partHere are the release notes for StyleX 0.10.0
https://github.com/facebook/stylex/blob/1608c894bf26d7100962e4d3f28f8c45c1038b5b/apps/docs/blog/2025-01-02-Release-v0.10.0.mdx
Note, that this says
StyleX previously required manual configuration of
unstable_moduleResolution.rootDir
for enabling the theming APIs. This is no longer the case. Additionally, compilation should be more reliable and cache-friendly, especially when using package managers likepnpm
The moduleResolution docs for version 0.5.1 of @stylexswc/nextjs-plugin still has
unstable_moduleResolution.rootDir
configuration:From here: https://www.npmjs.com/package/@stylexswc/nextjs-plugin#plugin-options
Beta Was this translation helpful? Give feedback.
All reactions