@Savlambda The HTML DSL is purescript-smolder. The styling DSL is a mashup of purescript-tecton and @CSSHooks - so, strict typing and no side effects. I haven't published it; but, if there's interest, I certainly could.
We believe styling should be expressive, colocated, and predictable.
Today, we take that mission a step further with a new look designed to be as modern as the code CSS Hooks enables you to write.
Experience the evolution in the first reply. ๐
New framework strategy: "We've fixed all of React's problems! But to make sure you feel at home, we're keeping JSX."
What nobody realizes is that JSX is an anchor, not a lure.
After ditching JSX, polymorphic components are no longer a headache. Aside from terser syntax, you can avoid prop collisions, excess props, and other pitfalls of the `as` and `asChild` props.
The @remix_run team gets it:
"Designing for bundlers/compilers/typegen (and any pre-runtime static analysis) leads to poor API design that eventually pollutes the entire system."
Can't wait to check out v3!
TIL Pigment CSS is on ice because extra build steps are too much of a burden. Wishing @MUI_hq the best in their search for a low-friction styling solution with RSC support.
quick update regarding @CSSHooks
NO, it's not dead.
a lot of people are wondering why it doesn't receive daily updates like all the other styling solutions out there...
simple - because it "just works".
no need to mess with it.