Sam (@TofuDotDev) header
Sam (@TofuDotDev) profile picture

Senior React Developer | PhD (CompSci) | SaaS Builder

Auckland, New Zealand
Joined December 2010
Photo by Sam (@TofuDotDev)Photo by Sam (@TofuDotDev)Photo by Sam (@TofuDotDev)Photo by Sam (@TofuDotDev)Photo by Sam (@TofuDotDev)Photo by Sam (@TofuDotDev)Photo by Sam (@TofuDotDev)Photo by Sam (@TofuDotDev)Photo by Sam (@TofuDotDev)
I built codecity: your git repo as a 3D city. Every file is a building. Watch them light up live as your coding agents edit, click one to see what it imports, replay the whole history from the first commit. One command: npx codecity #buildinpublic #opensource #vibecoding
2
2
12
React Context, but 1 line. const [ThemeProvider, useTheme] = createPocket(() => useState('light')); → Typed Provider → Consumer hook → Tuple passthrough — destructure like useState Thin layer over Context. npm i @icydotdev/pocket #react #reactjs
1
43
Still manually deploying updates to toggle maintenance pages? One JavaScript file. One button click. Toggle a customizable maintenance page instantly. maintenance.dev - Get started free
1
1
86
Replacing Netlix with react.gg after being blown away by their production quality by @uidotdev 🍿
1
2
8
2,025
Just posted on @ThePracticalDev about a little bash command I've relied on for years. "Boom" allows you to: Create a folder + README, init a repo, push that repo to @github in a single command. I use it to quickly back up all my quick experiments! 🧪 dev.to/tofudotdev/ok-boomer-…
2
1
1
9
4,351
Tailwind CSS quick tip ✨ ➡️ Style children with *: Did you know you can style all children from the parent element by just prefixing the styles with *: ? play.tailwindcss.com/9fMlOh5…
7
6
3
38
2,832
Tried to design a short GIF for the maintenance.dev header with my terrible art skills 🧑‍🎨 Thoughts #buildinpublic community?
41
Are you still manually deploying updates to toggle maintenance pages? One JavaScript file. One button click. Toggle a customizable maintenance page instantly. maintenance.dev/ - Join Now FREE
1
3
126
Web developers who're who're building #OpenAI based #SaaS tools, what course/docs did you use to get up to speed if you don't have a background in AI? 🤖 #buildinpublic
5
12
1,426
Thanks all for the quick feedback 👏 I’ll start with their docs. I had given them a quick read before but was hoping someone had written more of a quick-start (especially for building SaaS oriented apps) but I’ll get stuck in and see what I can build 🧑‍💻
1
69
Is it better to launch on @ProductHunt with Stripe already set up, or to launch a week or 2 earlier with a paid plan waiting list? 🤔 #buildinpublic
1
66
What headless CMS do you use with @nextjs? Community seems very split 🤔 @sanity_io || @WordPress (headless) || @strapijs || @storyblok
4
1
165
Thanks all. We build a lot of marketing sites for clients in WordPress, and a lot of bespoke React web apps. So I’m looking for a headless CMS that will give clients the familiar flexibility/interface of WordPress, and keep our React devs happy 🤔
1
116
Besides @ProductHunt & X, where is everyone's favorite place to post about their new SaaS? #buildinpublic
49
As a mainly front-end dev I couldn’t believe how easy it was for me (I’m talking 10 mins from sign up) to deploy an auto scaling Express API with full CI/CD using @render 🤯 100% Recommend for anyone wanting to quickly stand something up #buildinpublic 🚀
1
2
71
This graphic explaining different array methods in #javascript 🤩 Highly unfortunate the author is unknown 😔
67
1,289
77
6,382
#ngUpdate to v12 for nullish coalescing (`??`) support in templates!
6
75
13
469
⚡ Announcing Angular DevTools, a new way to debug your apps ⚡️ Install now to: ‣ Visualize the structure of your apps 🗺 ‣ Explore, inspect & edit components 🔍 ‣ Profile performance 📊 👩🏾‍💻 Read more → goo.gle/angular-devtools 🚀 Install here → goo.gle/install-angular-devt…
84
951
191
2,739