Creator of @CSSHooks - UI/UX and FP focus

Joined June 2010
87 Photos and videos
Heyyy... CSS Hooks works pretty well in PureScript
1
1
107
Nick Saunders retweeted
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. 👇
1
1
6
190
design tokens are for designers
1
1
68
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.
102
Just finished migrating the @remix_run v3 bookstore demo from JSX to Renuel. It now runs natively in Node.js without tsx.
1
2
157
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.
1
74
jsx is great until you hit a .map()
53
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!
4
169
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.
114
just found a new pattern for polymorphic components that doesn't compromise on type safety _or_ convenience
3
179
no css no jsx no idea why y'all make it so hard
5
199
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.
6
432
In my first blog post of 2025, I explore a few reasons why the CSS cascade is generally something to avoid and what you can use instead. Please let me know what you think! nsaunders.dev/posts/cascade-…
1
3
251
Just finished migrating the @CSSHooks website over to React Router v7. Really loving the new SSG capabilities!
3
165
Just migrated my site to React Router v7! Configurable routes are a game-changer, and I was finally able to scrap my custom prerendering solution. Huge thanks to the React Router team! 🙌 Please take a look at issue 12495 though. 😉
2
184
Noticed something a little strange... 🧐 @bundlephobia reports the bundle size for the @CSSHooks core library as 861 B while @jsbundle has it at 779 B. Which one is right? 🤔
1
1
157
Nick Saunders retweeted
Inline styles not being the default is the biggest web flaw.
1
115
Easy: Created with minimal effort Simple: Understood with minimal effort The problem with most software? People optimize for "easy" over "simple," making it harder to maintain in the long run.
1
133