Sign in

Cody

@codey.bsky.social
420 followers 208 following 147 posts

Principal Engineer at Sanity.io

PostsRepliesMedia
Cody @codey.bsky.social · 22/09/2026
I stopped using Safari @sanity.io because of wobbly spinners. Now I can use it again thanks to zoom banter & humans working together, & writing a @github.com PR _by hand_ (NO AI)! It didn't require convincing @jensimmons.bsky.social to add no-wobbles to Baseline 2027! www.sanity.io/engineering/...
0122
Cody @codey.bsky.social · 20/08/2026
Yup, we've archived our fork and moved all our repos back and run 6.5 now (testing 7 as well): github.com/sanity-io/st... We're still working on removing it from our stack since even the fastest way to insert CSS with JS is always going to be _much slower_ than a `<link rel="stylesheet">`
github.com
GitHub - sanity-io/styled-components-last-resort: One does not simply remove styled-components from a codebase.
One does not simply remove styled-components from a codebase. - sanity-io/styled-components-last-resort
010
Cody @codey.bsky.social · 03/07/2026
Full setup here github.com/sanity-io/ic... I’ll blog about it later and give a step by step 🙌
github.com
Semantic icon search via Sanity Dataset Embeddings by stipsan · Pull Request #194 · sanity-io/icons
What Replaces the showcase&#39;s name-only icon filter with hybrid semantic search powered by Sanity&#39;s own products (Dataset Embeddings + Agent Actions), so natural queries work: &quot;create p...
010
Cody @codey.bsky.social · 02/07/2026
*I* didn’t, I just used this API that our AI team is managing: www.sanity.io/docs/content... "The embedding model is managed by Sanity and may be updated for optimized performance. When this happens, your dataset will be recomputed automatically."
sanity.io
Dataset Embeddings | Sanity Docs
Search your Content Lake by meaning, not just keywords.
100
Cody @codey.bsky.social · 02/07/2026
Try it icons.sanity.dev, it was done using our own platform APIs for analyzing images + creating embeddings github.com/sanity-io/ic...
icons.sanity.dev
@sanity/icons
000
Cody @codey.bsky.social · 02/07/2026
I always struggle with finding the right icon, so I built semantic search into our icon picker @sanity.io ✨ No more time spent trying to remember if the icon is called `create-user` or `add-person` 😮‍💨
361
Cody @codey.bsky.social · 17/06/2026
github.com/sanity-io/sa...
github.com
chore(lint): replace eslint with oxlint jsplugins by stipsan · Pull Request #13114 · sanity-io/sanity
Description Upgrades the oxlint toolchain and removes ESLint entirely, folding the whole ESLint layer into oxlint. Previously the repo ran both oxlint (native rules) and ESLint (via turbo run lint ...
000
Cody @codey.bsky.social · 17/06/2026
We fully replaced ESLint with oxlint in @sanity.io Studio! 🥳 Total lint time went from ~101s to ~21.5s. Before, linting meant oxlint + ESLint, and ESLint was also running the React Compiler checks. 😮‍💨 Now it’s just oxlint, including the Rust-powered React Compiler linter. 🧘
2301
Cody @codey.bsky.social · 10/06/2026
First big leap towards replacing rollup + esbuild with rolldown. With the studio on vite 8 it's time to move the rest of our devtooling over to tsdown, oxfmt, oxlint, vite+. Always bet on whatever the @voidzero.dev team is cooking!
020
Reposted by Cody
Sanity @sanity.io · 07/04/2026
Portable Text is a spec for block content as structured JSON. It's also an editor for authoring it. In production since 2017. Open spec. The docs at portabletext.org just got a major overhaul →
portabletext.org
Portable Text
A JSON-based specification for structured block content
1205
Reposted by Cody
Vite @vite.dev · 12/03/2026
⚡️ Vite 8.0 is here! The most significant architectural change since Vite 2. ⏬ Powered by @rolldown.rs bringing faster production builds and more consistency 🛤️ New features such as tsconfig paths and emitDecoratorMetadata support vite.dev/blog/announc...
vite.dev
Vite 8.0 is out!
Vite 8 Release Announcement
639993
Cody @codey.bsky.social · 11/03/2026
This massively helped my understanding of how we "grow" LLM's, and why it's wrong to say that models are "built" or "designed". Give it a try!
000
Reposted by Cody
⚡️🌙 @dystopiabreaker.xyz · 08/03/2026
i think wider ai discourse would be wildly different if everyone actually understood that Claude and ChatGPT are “eldritch creations via petajoules of stochastic optimizations” rather than “chat bot programmed by a san francisco tech company’s engineers”
1942455
Cody @codey.bsky.social · 11/03/2026
My eyes are peeled on github.com/oxc-project/... ❤
github.com
React Compiler oxc plugin · Issue #10048 · oxc-project/oxc
I wanted to open an issue capturing some of our past discussion on adding support for React Compiler as an oxc plugin. For context, the React team reached out to both the swc and oxc projects a few...
040
Cody @codey.bsky.social · 11/03/2026
I’m over the moon excited about this ⚡️
020
Cody @codey.bsky.social · 02/03/2026
Congrats 🥳
010
Cody @codey.bsky.social · 21/02/2026
I review mostly internal PRs, or PRs from peer staff. We were discussing this just before I left for PTO few weeks ago. As an org we do have a lot of incoming PRs from external contributors on our open source repository. I’ll get back to you on this when I’m back in march 😌
030
Cody @codey.bsky.social · 21/02/2026
At @sanity.io we started requiring that everyone has to review their own ai generated PR before requesting another human to review it. It has worked wonders for me in reducing the feeling that I’m asked to do someone else’s homework 😮‍💨
110
Reposted by Cody
Alexander Lichter @thealexlichter.com · 18/02/2026
You HAVE to run this command across your Vitest test suite at least once 👀
0101
Reposted by Cody
Stef Walter @stephaniewalter.bsky.social · 18/02/2026
Dear developers, Please respect the reduced-motion preferences of your users. I'm tired of your websites making me nauseous. Motion is fun until it makes your users sick. Here you go: developer.mozilla.org/en-US/docs/W...
developer.mozilla.org
prefers-reduced-motion - CSS | MDN
The prefers-reduced-motion CSS media feature is used to detect if a user has enabled a setting on their device to minimize the amount of non-essential motion. The setting is used to convey to the browser on the device that the user prefers an interface that removes, reduces, or replaces motion-based animations.
48726
Reposted by Cody
Smooth Dunk @smoothdunk2.bsky.social · 02/02/2025
Wile E. Coyote Finally Kills Road Runner Then Immediately Wishes He Hadn’t
4 panel comic

Panel 1: Wile E. Coyote has finally murdered Road Runner by crushing him under a massive boulder

Panel 2: Wile celebrates his long sought after victory

Panel 3: Wile steps out from behind the boulder and is immediately confronted by Columbo who says “Mr. Coyote” in his typically annoying but persistent manner

Panel 4: Columbo calls his name again. Panicked, Wile retreats quickly behind the boulder, but in his heart of hearts, he knows it will do no good. In about two hours he’ll be going to prison. And not cartoon prison. Human prison.
3550101295
Cody @codey.bsky.social · 06/02/2026
'use cache' is FAST 🔥 🔥🔥🔥🔥🔥 It's even faster LIVE ✨ We've been cooking at @sanity.io , give it a try: github.com/sanity-io/ne...
github.com
021
Cody @codey.bsky.social · 03/02/2026
Migrating our largest FOSS repo (over 5k files) from prettier to oxfmt (github.com/sanity-io/sa...), it's 9x faster 🤯
media.tenor.com
a white and gray cat is sitting on a couch with its mouth open .
Alt: a white and gray cat is sitting on a couch with its mouth open, mind blown at the super fast oxfmt formatter powered by rust .
020
Cody @codey.bsky.social · 31/01/2026
I see a mixture between calling functions "events" and "logic that genuinely should not re-trigger your Effect". Maybe consistently call it events called from effects, and non-events? Instead of genuine and not genuine logic, as "genuine" as subjective and abstract
010
Cody @codey.bsky.social · 30/01/2026
media.tenor.com
a cartoon of a chef with a needle in his mouth is playing at 4:32
ALT: a cartoon of a chef with a needle in his mouth is playing at 4:32
020
Cody @codey.bsky.social · 24/01/2026
If you are going to reduce the pain of setting up trusted publishing in any way then sign me up 😮‍💨
020
Reposted by Cody
pnpm @pnpm.io · 29/12/2025
🚀pnpm 2025 recap: 2x download growth, new homepage, my first JSNation talk, and v10 feature highlights pnpm.io/blog/2025/12...
pnpm.io
🚀 pnpm in 2025 | pnpm
2025 has been a transformative year for pnpm. While our primary focus was redefining the security model of package management, we also delivered significant improvements in performance and developer e...
0514
Reposted by Cody
Matt Kane @mk.gg · 08/12/2025
If you are running a vulnerable Next.js or RSC app behind Cloudflare or other WAF, but your origin is still accessible directly from the internet then you are not protected! Attackers are iterating IP addresses so you will probably be found. Upgrade right now!
2194
Cody @codey.bsky.social · 14/11/2025
Finally got around to digest the RFC and share my thoughts github.com/withastro/ro...
github.com
Route Caching by ascorbic · Pull Request #1245 · withastro/roadmap
Summary A platform-agnostic route caching API for Astro SSR pages that enables declarative cache control using web standards. Examples Basic route caching --- // src/pages/products/[id].astro impor...
110
Cody @codey.bsky.social · 12/11/2025
It's ok we're all sinners here
010
Cody @codey.bsky.social · 12/11/2025
A lot of you need to read react.dev/learn/you-mi... and it shows
react.dev
You Might Not Need an Effect – React
The library for web and native user interfaces
183
Cody @codey.bsky.social · 22/10/2025
Unfortunately unlikely, by the time I started high school my family had moved to Lofoten 😔
000
Cody @codey.bsky.social · 22/10/2025
The city of where I was born! 🥰
110
Cody @codey.bsky.social · 17/10/2025
Gotcha. What I’ve skimmed so far looks on target. I’ll deep dive and share feedback next week 🙌
010
Reposted by Cody
Dominik 🔮 @tkdodo.eu · 17/10/2025
✨ welcome to @sentry.io, React Compiler ✨
Component Tree highlighted with ✨ memo for components that have been auto-memoized by the compiler
1451
Cody @codey.bsky.social · 17/10/2025
For sure, hoping I'll have time next week to dive in. Do you have an idea of when there's a POC we can test drive? 🙌
100
Cody @codey.bsky.social · 17/10/2025
I’m extremely excited for how well this new api is shaping up to be. SanityLive on this setup will be S M O O O O T H 😤 🤌🤌🤌🤌🤌🤌
150
Cody @codey.bsky.social · 16/10/2025
We are so back 🤌
050
Reposted by Cody
Ricky @ricky.fm · 15/10/2025
Here's the code for my Async React demo: github.com/rickhanlonii...
github.com
GitHub - rickhanlonii/async-react: The final state of the React Conf 2025 Async React talk.
The final state of the React Conf 2025 Async React talk. - rickhanlonii/async-react
28612
Cody @codey.bsky.social · 09/10/2025
Hyped for part 3 of @ricky.fm’s Async React
Picture of Ricky and Cody at the chandelier bar
1180
Cody @codey.bsky.social · 07/10/2025
Glad you loved it! 💖 happy birthday 🥳
010
Reposted by Cody
James @43081j.com · 05/10/2025
we've started building out an "awesome" list for @e18e.dev 🎉 this should provide a good resource for finding modern libraries and tools. contributions welcome!
github.com
GitHub - e18e/awesome-e18e: A curated list of awesome e18e-focused packages
A curated list of awesome e18e-focused packages. Contribute to e18e/awesome-e18e development by creating an account on GitHub.
1458
Cody @codey.bsky.social · 05/10/2025
Last minute tweaks to the slides 🤏 got two looooong flights ahead 😮‍💨
Photo of a cabin of a SAS flight to USA, with a laptop that teases the first slide of the "In case you missed the memo" talk Cody will have at React Conf
0111
Reposted by Cody
Josh @joshellis.co.uk · 02/10/2025
We’ve been using the activity API at sanity since it was released as experimental to support multiple Iframes being mounted & unmounted whilst preserving their state & I’m really pleased at how fantastic it’s been.
081
Cody @codey.bsky.social · 30/09/2025
Super stoked to come talk about what we’ve learned from using it in production ✨
020
Reposted by Cody
React @react.dev · 29/09/2025
@codey.bsky.social is giving a talk on React Compiler
1121
Reposted by Cody
Sanity @sanity.io · 24/09/2025
We're hosting the official @nextjs.org Conf opening party 🎉 Can't make it to our *[NYC] event? Don't worry—we'll be in SF too! Oct 21, 7pm-midnight at Southern Pacific Brewing in the Mission. Great food, drinks, games + the Next.js (and Sanity!) community. Register below 👇🏻
133
Cody @codey.bsky.social · 19/09/2025
More context here bsky.app/profile/rick...
000
Cody @codey.bsky.social · 19/09/2025
@kitten.sh re x.com/_philpl/stat... it explains why I could never reproduce github.com/reactwg/reac... nor react.dev/reference/re.... 🤯 I'd love to chat SC history with you if we cross paths, my interest in SC history is maybe above average (github.com/sanity-io/sa...) 😂 It's such an impressive proj
x.com
phil 🫠 on X: "amazing to still see styled-components hidden in some codebases 👀 lots of differences from modern CSS approaches, but SC's ordering guarantees are still kinda neat also CSS-in-JS's perf would be even worse if this issue wouldn't have been fixed😂 https://t.co/oTy95EZkp2" / X
amazing to still see styled-components hidden in some codebases 👀 lots of differences from modern CSS approaches, but SC's ordering guarantees are still kinda neat also CSS-in-JS's perf would be even worse if this issue wouldn't have been fixed😂 https://t.co/oTy95EZkp2
110
Cody @codey.bsky.social · 18/09/2025
Ok you win, when can we have a client/SSR cache API? 🥺
070