Ben Smith
banner
bensmith.sh
Ben Smith
@bensmith.sh
Full stack web developer at Thuma. Passionate about accessibility, neovim, and coffee.

Site: https://bensmith.sh
YouTube: https://youtube.com/@smithbm2316
Reposted by Ben Smith
I like that almost every UI interaction in GitHub's pull request page is broken when a new comment arrives, and I'd then have to reload the page for it to work again
June 19, 2025 at 3:09 AM
Reposted by Ben Smith
I implemented the proposed CSRF handler, if anyone wants to test it, or wants to migrate before it makes its way into the standard library.

There are are no tokens or cookies, so migrating should be easy, but note that it applies strict same-origin checks.

Feedback welcome!

filippo.io/csrf
May 16, 2025 at 9:16 PM
Reposted by Ben Smith
May 14, 2025 at 12:23 AM
Reposted by Ben Smith
A frustrating side effect of search becoming "smarter" in general is that we seem to have lost the capability to just match on a substring. Across the various search boxes I use daily (apple spotlight, google search, github search) they all now fail to find "bar" in "foobar"
May 14, 2025 at 12:44 AM
Reposted by Ben Smith
Microsoft, laying off 3% of its global workforce: “We continue to implement organizational changes necessary to best position the company for success in a dynamic marketplace.”

Do you need an MBA to learn to talk like this? To lose your empathy, your humanity? It seems so.
May 13, 2025 at 8:25 PM
Reposted by Ben Smith
As of @svelte.dev 5.25 you can temporarily override a derived value, which is very handy for optimistic UI

• demo svelte.dev/playground/3...
• docs svelte.dev/docs/svelte/...
March 21, 2025 at 5:42 PM
Reposted by Ben Smith
Another stellar resource from Corbin 😮‍💨

If you didn't know, Corbin puts out amazing (free!!) content about so many things with @playfulprogramming.com and you should definitely check it out
Announcing my new book about A11Y! ♿

When I first started as a web developer I didn't know anything about best practices for UX

Only after guidance from many wonderful people have I improved; I want to share that ☺️

A11Y is a basic right and improves products for us all 🚀
🌐 Introducing: The Art of Accessibility!

Our brand-new book teaches you everything to do with accessibility!

With a vast array of technologies and methods of providing valuable experiences to all users, it's easier than ever to design better, more inclusive products.
April 30, 2025 at 9:26 PM
Reposted by Ben Smith
Announcing my new book about A11Y! ♿

When I first started as a web developer I didn't know anything about best practices for UX

Only after guidance from many wonderful people have I improved; I want to share that ☺️

A11Y is a basic right and improves products for us all 🚀
🌐 Introducing: The Art of Accessibility!

Our brand-new book teaches you everything to do with accessibility!

With a vast array of technologies and methods of providing valuable experiences to all users, it's easier than ever to design better, more inclusive products.
April 30, 2025 at 8:24 PM
Reposted by Ben Smith
🌐 Introducing: The Art of Accessibility!

Our brand-new book teaches you everything to do with accessibility!

With a vast array of technologies and methods of providing valuable experiences to all users, it's easier than ever to design better, more inclusive products.
April 30, 2025 at 8:22 PM
Reposted by Ben Smith
In my latest video over on @syntax.fm - I talk about how you should write the code you wish existed aka "Dream Code"

I show how I created a @nitro.build / h3 utility for validating API requests with zod and full type safety.

Watch 🍿: youtube.com/watch?v=FI4z...
Write The Code You Wish Existed | TypeScript + Nitro API Validation Example
YouTube video by Syntax
youtube.com
March 13, 2025 at 1:25 PM
Reposted by Ben Smith
How is anyone non-technical supposed to figure out if a website is legit or not?

We should do better.
March 20, 2025 at 11:59 PM
Reposted by Ben Smith
📝 I find it ironic that the web platform has such a strong ethos of "no breaking changes” but the tools we use to build on top of the web are like "BREAKING CHANGE ALL THE THINGS”

blog.jim-nielsen.com/2025/backwar...
Backwards Compatibility in the Web, but Not Its Tools
Writing about the big beautiful mess that is making things for the world wide web.
blog.jim-nielsen.com
April 29, 2025 at 3:38 PM
Reposted by Ben Smith
Favicon color matches your primary color ✔️
April 17, 2025 at 9:41 AM
Reposted by Ben Smith
I always forget that this is a thing I made 😂

It’s a search engine for operators. So if you see something funky like “%=“ in a codebase, you can copy/paste it in for an explanation.
Just discovered the operator lookup page by
@joshwcomeau.com
at joshwcomeau.com/operator-loo.... It provides a great overview of the operators present in JavaScript and TypeScript.
Operator Lookup - Search JavaScript Operators
Friendly tutorials for developers. Focus on React, CSS, Animation, and more!
joshwcomeau.com
April 24, 2025 at 12:31 AM
Reposted by Ben Smith
i made a thing recently: xkcd.fyi

it's an alternative frontend to xkcd.com with some important differences:
- title text shown in an accessible way
- transcript included for every comic
- link to explainxkcd.com/ (for when you don't get the joke)
- dark mode!
xkcd.fyi
xkcd.fyi
October 29, 2024 at 12:46 AM
Reposted by Ben Smith
Looking to get started with @nuxt.com / @vuejs.org ? In my latest video, I go over everything you need to know to start building with Nuxt today.

Watch 🍿: www.youtube.com/watch?v=RhZZ...
Nuxt Crash Course 2025
YouTube video by Syntax
www.youtube.com
April 17, 2025 at 6:16 PM
Reposted by Ben Smith
Storybook 9 is now in beta!

It’s ready for you to try today.

Let’s see what’s inside…
Storybook 9 is now in beta
Try the future of UI testing today
storybook.js.org
April 24, 2025 at 8:03 PM
Reposted by Ben Smith
Storybook 9 beta!

So much blood/sweat/tears from @storybook.js.org and @vitest.dev teams to create the future of UI testing.

Please kick the tires in your project to help us stabilize for GA. 🙏
Storybook 9 is now in beta!

It’s ready for you to try today.

Let’s see what’s inside…
Storybook 9 is now in beta
Try the future of UI testing today
storybook.js.org
April 25, 2025 at 12:39 AM
Reposted by Ben Smith
Dang I'm excited about new semantic attr() capabilities in CSS!

I wrote a post about why this feature is so powerful, how it could change the way you build components, and how I would use it.

Advanced attr() is rolling out in Chrome 133 starting next week 🥰

una.im/advanced-attr/
una.im | New capabilities for attr()
Advanced attr() is landing in Chrome 133, and I'm really excited for this feature! Here's a bit about it and how you can use it.
una.im
January 22, 2025 at 5:40 PM
Reposted by Ben Smith
This means that front-end developers and architects should *be in the room* early on in the process, even if the feature is largely going to be implemented in terms of the backend.
January 3, 2025 at 11:06 PM
Reposted by Ben Smith
Finished up the video properly introducing / giving an overview of Clay! #cprogramming
youtu.be/DYWTw19_8r4
Introducing Clay - High Performance UI Layout in C
YouTube video by Nic Barker
youtu.be
December 18, 2024 at 3:31 AM
Reposted by Ben Smith
If this is the first time you've heard about Yerba Mate, if you ever visit an Argentinian home, you'll see that the first thing they do is heat water to share some mates with you.
December 15, 2024 at 11:10 AM
Reposted by Ben Smith
Laravel VS Code extension ships Monday in public beta. ✨
December 13, 2024 at 5:17 PM
Reposted by Ben Smith
🧑‍💻
December 13, 2024 at 5:18 PM