Cody's Avatar

Cody

@codey

Principal Engineer at Sanity.io

397
Followers
204
Following
135
Posts
06.06.2023
Joined
Posts Following

Latest posts by Cody @codey

Congrats ๐Ÿฅณ

02.03.2026 18:34 ๐Ÿ‘ 1 ๐Ÿ” 0 ๐Ÿ’ฌ 0 ๐Ÿ“Œ 0

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 ๐Ÿ˜Œ

21.02.2026 16:51 ๐Ÿ‘ 3 ๐Ÿ” 0 ๐Ÿ’ฌ 0 ๐Ÿ“Œ 0

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 ๐Ÿ˜ฎโ€๐Ÿ’จ

21.02.2026 15:23 ๐Ÿ‘ 1 ๐Ÿ” 0 ๐Ÿ’ฌ 1 ๐Ÿ“Œ 0

You HAVE to run this command across your Vitest test suite at least once ๐Ÿ‘€

18.02.2026 21:27 ๐Ÿ‘ 10 ๐Ÿ” 1 ๐Ÿ’ฌ 0 ๐Ÿ“Œ 0
Preview
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.

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...

18.02.2026 09:54 ๐Ÿ‘ 88 ๐Ÿ” 27 ๐Ÿ’ฌ 4 ๐Ÿ“Œ 1
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.

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.

Wile E. Coyote Finally Kills Road Runner Then Immediately Wishes He Hadnโ€™t

02.02.2025 08:17 ๐Ÿ‘ 2641 ๐Ÿ” 661 ๐Ÿ’ฌ 18 ๐Ÿ“Œ 14

'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...

06.02.2026 15:12 ๐Ÿ‘ 2 ๐Ÿ” 1 ๐Ÿ’ฌ 0 ๐Ÿ“Œ 0
Preview
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 .

Migrating our largest FOSS repo (over 5k files) from prettier to oxfmt (github.com/sanity-io/sa...), it's 9x faster ๐Ÿคฏ

03.02.2026 15:07 ๐Ÿ‘ 2 ๐Ÿ” 0 ๐Ÿ’ฌ 0 ๐Ÿ“Œ 0

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

31.01.2026 10:29 ๐Ÿ‘ 1 ๐Ÿ” 0 ๐Ÿ’ฌ 0 ๐Ÿ“Œ 0
Preview
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
30.01.2026 06:58 ๐Ÿ‘ 2 ๐Ÿ” 0 ๐Ÿ’ฌ 0 ๐Ÿ“Œ 0

If you are going to reduce the pain of setting up trusted publishing in any way then sign me up ๐Ÿ˜ฎโ€๐Ÿ’จ

24.01.2026 12:25 ๐Ÿ‘ 2 ๐Ÿ” 0 ๐Ÿ’ฌ 0 ๐Ÿ“Œ 0
Preview
๐Ÿš€ 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...

๐Ÿš€pnpm 2025 recap: 2x download growth, new homepage, my first JSNation talk, and v10 feature highlights

pnpm.io/blog/2025/12...

29.12.2025 14:13 ๐Ÿ‘ 52 ๐Ÿ” 5 ๐Ÿ’ฌ 0 ๐Ÿ“Œ 0

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!

08.12.2025 09:42 ๐Ÿ‘ 19 ๐Ÿ” 4 ๐Ÿ’ฌ 2 ๐Ÿ“Œ 0
Preview
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...

Finally got around to digest the RFC and share my thoughts github.com/withastro/ro...

14.11.2025 16:12 ๐Ÿ‘ 1 ๐Ÿ” 0 ๐Ÿ’ฌ 1 ๐Ÿ“Œ 0

It's ok we're all sinners here

12.11.2025 18:18 ๐Ÿ‘ 1 ๐Ÿ” 0 ๐Ÿ’ฌ 0 ๐Ÿ“Œ 0
Preview
You Might Not Need an Effect โ€“ React The library for web and native user interfaces

A lot of you need to read react.dev/learn/you-mi... and it shows

12.11.2025 18:18 ๐Ÿ‘ 8 ๐Ÿ” 3 ๐Ÿ’ฌ 1 ๐Ÿ“Œ 2

Unfortunately unlikely, by the time I started high school my family had moved to Lofoten ๐Ÿ˜”

22.10.2025 11:28 ๐Ÿ‘ 0 ๐Ÿ” 0 ๐Ÿ’ฌ 0 ๐Ÿ“Œ 0

The city of where I was born! ๐Ÿฅฐ

22.10.2025 10:48 ๐Ÿ‘ 1 ๐Ÿ” 0 ๐Ÿ’ฌ 1 ๐Ÿ“Œ 0

Gotcha. What Iโ€™ve skimmed so far looks on target. Iโ€™ll deep dive and share feedback next week ๐Ÿ™Œ

17.10.2025 14:31 ๐Ÿ‘ 1 ๐Ÿ” 0 ๐Ÿ’ฌ 0 ๐Ÿ“Œ 0
Component Tree highlighted with โœจ memo for components that have been auto-memoized by the compiler

Component Tree highlighted with โœจ memo for components that have been auto-memoized by the compiler

โœจ welcome to @sentry.io, React Compiler โœจ

17.10.2025 13:02 ๐Ÿ‘ 45 ๐Ÿ” 1 ๐Ÿ’ฌ 1 ๐Ÿ“Œ 0

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? ๐Ÿ™Œ

17.10.2025 13:01 ๐Ÿ‘ 0 ๐Ÿ” 0 ๐Ÿ’ฌ 1 ๐Ÿ“Œ 0

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 ๐Ÿ˜ค ๐ŸคŒ๐ŸคŒ๐ŸคŒ๐ŸคŒ๐ŸคŒ๐ŸคŒ

17.10.2025 08:52 ๐Ÿ‘ 5 ๐Ÿ” 0 ๐Ÿ’ฌ 1 ๐Ÿ“Œ 0

We are so back ๐ŸคŒ

16.10.2025 10:48 ๐Ÿ‘ 5 ๐Ÿ” 0 ๐Ÿ’ฌ 0 ๐Ÿ“Œ 0
Preview
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

Here's the code for my Async React demo:

github.com/rickhanlonii...

15.10.2025 20:41 ๐Ÿ‘ 86 ๐Ÿ” 12 ๐Ÿ’ฌ 2 ๐Ÿ“Œ 1
Picture of Ricky and Cody at the chandelier bar

Picture of Ricky and Cody at the chandelier bar

Hyped for part 3 of @ricky.fmโ€™s Async React

09.10.2025 06:40 ๐Ÿ‘ 19 ๐Ÿ” 0 ๐Ÿ’ฌ 1 ๐Ÿ“Œ 0

Glad you loved it! ๐Ÿ’– happy birthday ๐Ÿฅณ

07.10.2025 20:45 ๐Ÿ‘ 1 ๐Ÿ” 0 ๐Ÿ’ฌ 0 ๐Ÿ“Œ 0
Preview
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.

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!

05.10.2025 09:57 ๐Ÿ‘ 44 ๐Ÿ” 8 ๐Ÿ’ฌ 1 ๐Ÿ“Œ 0

Last minute tweaks to the slides ๐Ÿค got two looooong flights ahead ๐Ÿ˜ฎโ€๐Ÿ’จ

05.10.2025 12:03 ๐Ÿ‘ 11 ๐Ÿ” 1 ๐Ÿ’ฌ 0 ๐Ÿ“Œ 0

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.

02.10.2025 05:19 ๐Ÿ‘ 8 ๐Ÿ” 1 ๐Ÿ’ฌ 0 ๐Ÿ“Œ 0

Super stoked to come talk about what weโ€™ve learned from using it in production โœจ

30.09.2025 20:02 ๐Ÿ‘ 2 ๐Ÿ” 0 ๐Ÿ’ฌ 0 ๐Ÿ“Œ 0