Pinned
And so it begins. I'm building an app to fight global food waste 🍏 github.com/barclayd/kee... SwiftUI devs, give me tips please #buildinpublic
Dan Barclay
@danbarclay.dev
Tech Lead 🧑🏻💻 Website and app builder ⛏️ Ending Food Waste for Good with KeepFre.sh
34 followers75 following119 posts
Pinned
And so it begins. I'm building an app to fight global food waste 🍏 github.com/barclayd/kee... SwiftUI devs, give me tips please #buildinpublic
KeepFresh v1.1 (my food waste tracking app) just dropped! Edit, move and add additional food items in a flash. Blazing fast search from 3mil+ grocery products that's growing everyday. Find all your supermarket favourites - guaranteed. Give it a try! apps.apple.com/app/keepfres...
Dan Barclay reposted
Hello, friends! After 10(!) years of #AdventOfCode, I've made some changes to preserve my sanity: there will be 12 days of puzzles each December (still starting Dec 1) and there is no longer a global leaderboard. Read more: adventofcode.com/2025/about#f... adventofcode.com/2025/about#f...
And so it begins. I'm building an app to fight global food waste 🍏 github.com/barclayd/kee... SwiftUI devs, give me tips please #buildinpublic
11 months later, with some huge gaps in the middle, I’m really delighted that the app is finally available for download, for free, from the App Store! apps.apple.com/gb/app/keepf...
Getting ready to launch my first app to the App Store since iOS 13. Is Combine dead? Doesn't look like Apple have given it any love since 2019 developer.apple.com/documentatio...
Is there a specific reason @vite.dev doesn’t offer a runtime for a Node.js server? Feels like there’s so much opportunity to improve server build tooling. Surely lots of this must exist already from @vitest.dev and vite handling SSR?
Dan Barclay reposted
Dan Barclay reposted
Dan Barclay reposted
Want fireworks in your terminal? ❤️ Try `npx firew0rks` Source: github.com/addyosmani/f...
Dan Barclay reposted
Dan Barclay reposted
Ignoring all the controversy with Kanye for a moment, the UX of yeezy.com is extremely good. I'm a huge fan of futuristic minimalism as a design philosophy (anything Black Mirror inspired floats my boat). Cooking up something of my own for my portfolio website soon ⏳
This portfolio site by Mory Yim is extraordinarily well engineered and fits the futuristic minimalism vibe perfectly. The CSS transitions 😮💨 morelenyim.com
Dan Barclay reposted
Inching closer to getting KeepFresh live (the app I'm building for fighting food waste). Keeping to a strict MVP is a challenge but motivated to share a TestFlight link in early January. Back to designing the last screens and then hooking up the API 🚀 github.com/barclayd/kee...
Dan Barclay reposted
I just completed all 25 days of Advent of Code 2024! #AdventOfCode adventofcode.com
Relieved to be free of AoC duties now it's Christmas Day but really enjoyed challenging myself and completing the challenge for the first time this year (3rd attempt - 2018 day 7, 2022, day 13). DFS, BFS and Dijkstra'salgorithm are firmly ingrained in my mind 😅 github.com/barclayd/adv...
Dan Barclay reposted
Dan Barclay reposted
I love Array.reduce, but I find myself writing less of them as the browser primitives get better. Map + Object groupBy is one place you can now get rid of reduce for www.youtube.com/watch?v=1bfK...
ci.yml: github.com/barclayd/adv... Think this solution can lend itself to a well architected, monolithic application or monorepo. Especially once you throw in dependency caching ⚡️
Dan Barclay reposted
TIL that I never need to lose my inline styling changes made in Dev Tools ever again 🤯
Good morning Bluesky 👋🏼 🦋 Web Dev / Dev tools tip 🔥 Did you know there is a 'changes' tab in the browser dev tools? It keeps track of changes that you make and presents it in git style diff UI. You can even copy changes when you're finished! 🤯 Never lose those unknown CSS changes again 🎉
Dan Barclay reposted
This is super neat from @wesbos.com as always 🔥 Great to see focus on accessibility too. CSS grid is super underrated and can help solve so many issues more elegantly than flexbox. Really hoping the CSS-first configuration in Tailwind v4 makes writing grid css easier than before
How do you make a button that doesn't change it's width when it's in a loading state? Use CSS Grid to stack items, and visibility: hidden to hide/show spinner! This approach allows the largest item to size the button, and keeps the button text accessible
Dan Barclay reposted
Replying to @shilman.net
As I understand, SB leans heavily into module mocking, which yields an integration test. I believe a proper way to test RSC is an e2e test that runs the underlying framework, be it Remix or Next, in its entirety, executes routes, loaders, server-side code as it happens in production.
Dan Barclay reposted
It’s that time of the year 🥲 @publicdomainrev.bsky.social #domain #developer #coding
Another reminder of the amazing impact @tannerlinsley.com and the maintainers of his projects have had in the front end ecosystem. Great to see more commonality within our community, we’re so much more powerful working together
TanStack Form now supports Standard Schema validators! 🔀 You can swap between Zod, Valibot and ArkType without zero effort, give it a try on the stackbliz you can find in the official docs 👇 tanstack.com/form/latest/...
Dan Barclay reposted
Dan Barclay reposted
Replying to @kettanaito.com
As it often comes, one should test a thing similar to how it's used. RSC is by design a full-stack feature requiring the client and server/build. It's crucial we preserve that requirement in testing. The easiest way to do that is to build your app and interact with it. Almost a conventional e2e test
First PR merged into react router feels really good! github.com/remix-run/re... Excited to keep up the momentum and bring some really exciting ideas to the testing space
Dan Barclay reposted
I've had a great discussion around testing RSC with @kentcdodds.com the other day. I will share my view on it once I've explored the tools (and wrote a few of those myself). So far, I see the in-browser, app-instance-per-test approach to justify its cost. It's always about justifying the cost.
Dan Barclay reposted
I love that @bsky.app has a setting to make alt text required for images I post. Here’s a nice 🧵 on what should go in there!!!
Alt text is not the same as a photo caption. Captions are typically written to support a photo, and usually depend on users being able to see the photo. But alt text is meant to be the stand-in for the photo. The alt text is what a screen reader user gets in place of the photo.
Dan Barclay reposted