The PostCSS plugin does very little here. Itβs just an integration point or a glorified string replacement engine.
We will continue to lean on LightningCSS for any future style transformation needs.
@stylexjs.bsky.social
The PostCSS plugin does very little here. Itβs just an integration point or a glorified string replacement engine.
We will continue to lean on LightningCSS for any future style transformation needs.
In a well deserved FINALLY, a functional playground for StyleX is now live!
Try it out now:
stylexjs.com/playground
As a bonus, the link takes you to a basic Vite example app
β¦ and other small bug fixes and improvements.
There are other, less splashy but important improvements.
Read all about the release in our release notes:
stylexjs.com/blog/v0.10.0/
π± Recipes section in documentation
We added a new βrecipesβ section to our documentation to provide example patterns for using StyleX.
Please keep your questions coming and we will add to this section as time goes on.
stylexjs.com/docs/learn/r...
π₯οΈ CLI improvements
The CLI is faster by leveraging a filesystem cache, supports usage of other syntax transforms and works correctly on Windows.
Further improvements are coming soon and the PostCSS plugin will start getting these benefits too.
π rootDir no longer needed for theming
StyleX now resolves the nearest package.json file automatically and doesnβt need a manually configured rootDir for the theming APIs
(Soon: automatic alias configuration!)
π§Ή ESlint improvements
Among other improvements, the StyleX ESlint plugin now includes a βno-unusedβ rule for detecting unused styles.
π οΈ Better Debugging
StyleX has a new `debug` option to make classnames and variables more readable in development.
Compiler error messages are also hugely improved and should pinpoint the exact problem in a lot more scenarios.
β‘οΈPostCSS plugin!
This release launches a PostCSS plugin that makes integrating StyleX into a Next or Vite app dramatically easier and much more reliable.
Happy new year!
StyleX v0.10.0 is now out. This is a consequential release as it comes with out PostCSS plugin, making integrating StyleX into your Next or Vite app dramatically easier.
Read all about it or follow along for the highlights.
stylexjs.com/blog/v0.10.0/
π₯³ 1 year old!
06.12.2024 04:42 β π 5 π 0 π¬ 0 π 0@stylexjs.bsky.social was open sourced exactly one year ago, and today, one year later, here is the other project that is at least a couple of years overdue: React 19
06.12.2024 04:41 β π 5 π 1 π¬ 0 π 1Hereβs the newest, and simplest way to setup StyleX in a Vite project:
stackblitz.com/edit/vitejs-...
Just merged a PR that adds postcss-plugin for StyleX.
Using StyleX with Next just got a whole lot easier!
The best way to write Tailwind will beβ¦.
β¦ @stylexjs.bsky.social
Read the full release notes here:
stylexjs.com/blog/v0.9.3/
Pseudo Elements and Pseudo Classes all mixed up, now work correctly.
And our ESLint plugins and Typedefs know about more of them.
Dynamic Styles are better than ever
Dynamic styles now handle "null" values more efficiently and correctly.
"rootDir" is now optional and ESM imports work more reliably.
01.11.2024 21:21 β π 2 π 0 π¬ 1 π 1Theming APIs
StyleX themes are now exclusive and you won't accidentally end up with values from two different themes for the same VarGroup.
Also, reset themes are now as easy as:
stylex.createTheme(varGroup, {})
StyleX v0.9.3 is out!
Changes include improvements to:
π¨ Theming APIs
πͺ Dynamic Styles
And other fixes!
A beta release is out. 0.9.0-beta.1
It changes how the @stylexjs/dev-server package (that should only be used for prototyping) works.
There are other changes too, but more on that in a couple of days.
Hello world!
11.10.2024 21:59 β π 6 π 0 π¬ 1 π 0