Nick Saunders

1.3K posts

Nick Saunders banner
Nick Saunders

Nick Saunders

@agilecoder

Creator of @CSSHooks - UI/UX and FP focus

Phoenix, AZ انضم Haziran 2010
415 يتبع534 المتابعون
Nick Saunders
Nick Saunders@agilecoder·
design tokens are for designers
English
1
0
0
52
Nick Saunders
Nick Saunders@agilecoder·
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.
English
0
0
0
87
Nick Saunders
Nick Saunders@agilecoder·
Just finished migrating the @remix_run v3 bookstore demo from JSX to Renuel. It now runs natively in Node.js without tsx.
Nick Saunders tweet media
English
1
0
2
144
Nick Saunders
Nick Saunders@agilecoder·
@asheshjyotii div( { id: "parent" }, div({ id: "child" }, h1$("I'm h1 tag"), h2$("I'm h1 tag")), div({ id: "child2" }, h1$("I'm h1 tag"), h2$("I'm h1 tag")) )
HT
0
0
1
16
asheshjyoti 👾
asheshjyoti 👾@asheshjyotii·
React without JSX is HELL!
asheshjyoti 👾 tweet media
English
1
0
1
30
Nick Saunders
Nick Saunders@agilecoder·
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.
Nick Saunders tweet media
English
1
0
0
70
Nick Saunders
Nick Saunders@agilecoder·
jsx is great until you hit a .map()
English
0
0
0
50
Nick Saunders
Nick Saunders@agilecoder·
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!
English
0
0
3
165
Nick Saunders
Nick Saunders@agilecoder·
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.
Nick Saunders tweet media
English
0
0
0
111
Nick Saunders
Nick Saunders@agilecoder·
just found a new pattern for polymorphic components that doesn't compromise on type safety _or_ convenience
Nick Saunders tweet media
English
0
0
3
177
Nick Saunders
Nick Saunders@agilecoder·
no css no jsx no idea why y'all make it so hard
English
0
0
4
196
Nick Saunders
Nick Saunders@agilecoder·
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.
English
0
0
6
428
Alberto Silva
Alberto Silva@asilvadesigns·
*inhale.... you don't need a component library
English
1
0
1
66
Nick Saunders
Nick Saunders@agilecoder·
@Mega_Jules Thanks for the update! I keep forgetting that `URL.parse` is still too new. The latest version of Safari has support I think, but it seems most people haven't been upgraded yet...
English
0
0
2
20
Nick Saunders
Nick Saunders@agilecoder·
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-…
English
1
0
3
249
Jules Blom
Jules Blom@Mega_Jules·
@agilecoder Would like to read it but I'm getting an error boundary
English
1
0
0
56
kitze 🛠️ tinkerer.club
tailwind is the obvious path forward, I was a fool for not recognizing it earlier
English
127
43
1.5K
174.2K
Nick Saunders
Nick Saunders@agilecoder·
@aandrewdev I'm glad to see inline styles at the top of your list. That should really be the default approach.
English
0
0
0
27
Andrew A.
Andrew A.@aandrewdev·
When styling in React, what method do you use? 🤔 - Inline Styles - CSS Stylesheets - CSS Modules - Styled Components - Tailwind CSS - Sass/SCSS - UI Libraries (MUI, Chakra, etc.)
English
1
0
0
109
Nick Saunders
Nick Saunders@agilecoder·
@roflwtfbbq Thanks - resolved! I guess I was using an API (URL.parse) that's a bit "too new": It looks like support was just added in Safari v18.
English
0
0
0
13