Cody
@codey.bsky.social
📤 377
📥 194
📝 127
Principal Engineer at Sanity.io
A lot of you need to read
react.dev/learn/you-mi...
and it shows
loading . . .
You Might Not Need an Effect – React
The library for web and native user interfaces
https://react.dev/learn/you-might-not-need-an-effect#resetting-all-state-when-a-prop-changes
6 days ago
1
7
5
reposted by
Cody
Dominik 🔮
about 1 month ago
✨ welcome to
@sentry.io
, React Compiler ✨
1
45
1
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 😤 🤌🤌🤌🤌🤌🤌
add a skeleton here at some point
about 1 month ago
1
5
0
We are so back 🤌
add a skeleton here at some point
about 1 month ago
0
5
0
reposted by
Cody
Ricky
about 1 month ago
Here's the code for my Async React demo:
github.com/rickhanlonii...
loading . . .
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
https://github.com/rickhanlonii/async-react
2
83
13
Hyped for part 3 of
@ricky.fm
’s Async React
about 1 month ago
1
19
0
reposted by
Cody
James
about 1 month ago
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!
loading . . .
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.
https://github.com/e18e/awesome-e18e
1
44
8
Last minute tweaks to the slides 🤏 got two looooong flights ahead 😮💨
add a skeleton here at some point
about 1 month ago
0
11
1
reposted by
Cody
Josh
about 2 months ago
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.
add a skeleton here at some point
0
8
1
Super stoked to come talk about what we’ve learned from using it in production ✨
add a skeleton here at some point
about 2 months ago
0
2
0
reposted by
Cody
about 2 months ago
@codey.bsky.social
is giving a talk on React Compiler
1
12
3
reposted by
Cody
Sanity
about 2 months ago
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 👇🏻
1
3
3
@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
loading . . .
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
https://x.com/_philpl/status/1966522613531804102
2 months ago
1
1
0
Ok you win, when can we have a client/SSR cache API? 🥺
add a skeleton here at some point
2 months ago
0
7
0
reposted by
Cody
pnpm
2 months ago
Published an article about mitigating supply chain attacks with pnpm
pnpm.io/supply-chain...
loading . . .
Mitigating supply chain attacks | pnpm
Sometimes npm packages are compromised and published with malware. Luckily, there are companies like [Socket], [Snyk], and [Aikido] that detect these compromised packages early. The npm registry usually removes the affected versions within hours. However, there is always a window of time between when the malware is published and when it is detected, during which you could be exposed. Fortunately, there are some things you can do with pnpm to minimize the risks.
https://pnpm.io/supply-chain-security
0
55
13
reposted by
Cody
danielroe 🔛 jsnation nyc 🇺🇸
2 months ago
trusted publishing is fantastic for ensuring that the state of a
@github.com
repo maps to a public package ... but maintainers are still vulnerable to phishing, allowing bypassing it so: this action fails ci when upgrading to a 'non-provenanced' package
add a skeleton here at some point
2
28
3
reposted by
Cody
Dominik 🔮
2 months ago
Can't believe what I'm reading. Accidentally DDoS yourself because you fetch in useEffect in 2025 is so avoidable 😂
blog.cloudflare.com/deep-dive-in...
6
128
22
reposted by
Cody
dan
2 months ago
cool post!
add a skeleton here at some point
2
112
9
It's very difficult to get stable repeatable benchmark results for scenarios that tie into React Concurrent mode. The best I've come up with is this one: - Before
concurrent-styled-components.sanity.dev?strategy=ins...
- After
concurrent-styled-components.sanity.dev?strategy=use...
add a skeleton here at some point
2 months ago
0
8
2
Great read! Would love to see your opinion
@simeongriggs.dev
on using useTransition() to render spinners where suspenseful actions are triggered. Changing a search filter, clicking on a row that opens a detail view, etc
add a skeleton here at some point
2 months ago
1
2
0
reposted by
Cody
Joe Savona
3 months ago
React folks: Id love your suggestions for an example app that stresses context update performance. I’m looking for something bigger than a micro benchmark, smaller than a full production app. Just complex to have a more realistic distribution of time in framework/product logic, ~1kloc
5
27
8
So... I've forked `styled-components`... not once, but twice (!)
github.com/sanity-io/cs...
😅 AMA 😂
loading . . .
GitHub - sanity-io/css-in-js: One does not simply remove styled-components from a codebase.
One does not simply remove styled-components from a codebase. - sanity-io/css-in-js
https://github.com/sanity-io/css-in-js
3 months ago
0
3
2
Motion is such a showcase of craftwork, passion for detail, and hard work 💖 Well deserved
@citizenofnowhe.re
!
add a skeleton here at some point
3 months ago
0
4
0
reposted by
Cody
VoidZero
3 months ago
⚓️Oxlint with type-aware linting is here ⚓️ ◆ 40 type-aware rules supported, including the famous `no-floating-promises` rule ◆ Built on top of `tsgolint` and `ts-go` ◆ Brings speed improvement & correctness Read more in the latest announcement
voidzero.dev/posts/announ...
loading . . .
Announcing Oxlint Type-Aware Linting
Oxlint with type-aware linting is now available and supports 40 long-awaited rules including no-floating-promises. Oxlint uses tsgolint, which @auvred initially prototyped as typescript-eslint/tsgolin...
https://voidzero.dev/posts/announcing-oxlint-type-aware-linting
0
90
14
reposted by
Cody
Retro Blast 💫
3 months ago
If you've never seen the Japanese Super Metroid commercial then you have to see this absolute work for art right here!
loading . . .
43
1912
378
reposted by
Cody
The Onion
4 months ago
Dancing Boston Dynamics Robot Knows Its Revenge For This Will Be Sweet
theonion.com/dancing...
20
1023
90
reposted by
Cody
Marjorie James Keenan
4 months ago
live action catbus looking pretty sweet
531
29474
3766
Hahaha I need one of these!
add a skeleton here at some point
4 months ago
0
2
0
reposted by
Cody
Ryan Skinner
4 months ago
Introducing Runtime Accelerated Rendering Infrastructure (Rari), a React Server Components framework that's 4x faster than Next.js. Built on custom Rust runtime with V8. 4x faster RSC rendering, 10,586 req/sec throughput, 5.8x faster builds.
loading . . .
How I Built a Full-Stack React Framework 4x Faster Than Next.js With 4x More Throughput - Ryan Skinner
Introducing the next-generation React framework with Rust-powered runtime, React Server Components, and ridiculously-fast development experience delivering 4x faster performance than Next.js.
https://ryanskinner.com/posts/how-i-built-a-full-stack-react-framework-4x-faster-than-nextjs-with-4x-more-throughput
1
55
18
reposted by
Cody
kode24.no
4 months ago
– Selv om jeg lærte enormt mye og jobbet med flinke og fine folk, ble erfaringsforskjellen mellom meg og resten av teamet for stor, sier Ukas Koder, Nina Andal Aarvik om det å være ung og nyutdanna i et stort fagmiljø der hun var eneste "ferske".
loading . . .
«Presset var stort, og imposter-syndromet traff hardt»
Da Nina Andal Aarvik fikk utviklerjobb blant utviklere med mye mer erfaring enn seg selv, gikk det kraftig ut over selvtilliten. – Overgangen ble ganske brutal, sier Ukas koder.
https://www.kode24.no/artikkel/presset-var-stort-og-imposter-syndromet-traff-hardt/241071
0
1
2
reposted by
Cody
Andy Bell
4 months ago
CSS pro tip: :target { scroll-margin-block-start: 2em; } Adds a nice bit of breathing room to stuff that's anchored via URL like example.com/#my-element
2
183
28
reposted by
Cody
Lost In Cult
5 months ago
Joysticks to Haptics – our ultimate compendium of gaming controllers and retro peripherals – is now shipping in the UK! Revisit all the key moments and innovations that shaped video game controllers 🕹️ EU, US & ROW customers: shipping available soon.
tr.ee/5A864A1wgJ
2
71
19
reposted by
Cody
Welcome to the Osaka Zone
5 months ago
where does internet come from? the answer may surprise you
loading . . .
64
1989
440
reposted by
Cody
John
5 months ago
Trash squad got mobility now?!? We are cooked
add a skeleton here at some point
1
25
4
reposted by
Cody
Vite
5 months ago
⚡️ Vite 7.0 is out! - Browser Target Changed to Baseline Widely Available - Node 18 support dropped. Vite is now distributed as ESM only - And feats, fixes, and cleanups, while we prepare for rolldown!
loading . . .
Vite 7.0 is out!
Vite 7 Release Announcement
https://vite.dev/blog/announcing-vite7.html
2
352
73
reposted by
Cody
rich harris
5 months ago
this is, by a wide margin, the most lavishly cinematic account of rollup's history
www.youtube.com/watch?v=azk-...
(assembled from bits of footage leftover from a forthcoming vite documentary that i got to be a part of)
loading . . .
The Story of Rollup with Rich Harris
YouTube video by CultRepo (formerly Honeypot)
https://www.youtube.com/watch?v=azk-GuGiy3E
1
104
9
reposted by
Cody
Seb ⚛️ ThisWeekInReact.com
5 months ago
TIL about TypeScript Type Buddy 🤯 It translates this fancy TS function syntax to the real but unreadable ternary syntax (works in both directions) I see how this could be convenient to work on complex conditional types There's even a VSCode extension
github.com/typed-rocks/...
1
39
8
reposted by
Cody
Filter Nyheter
5 months ago
Over 750 nye abonnenter! Vi er nå tre fjerdedeler på vei mot målet om å bli større enn Document.
4
123
44
We're super excited about the direction the vite team is heading here. Hopefully we'll see traction on the initiative to get React Compiler out of the babel pipeline
github.com/oxc-project/...
add a skeleton here at some point
6 months ago
0
5
1
reposted by
Cody
Anthony Fu
7 months ago
New blog post! Let's categorize our deps better with
@pnpm.io
catalogs!
antfu.me/posts/catego...
loading . . .
Categorize Your Dependencies
https://antfu.me/posts/categorize-deps
15
118
21
@socket.dev
just acquired Coana, making a big move to reduce false positive CVE alerts 🤯 If you’re still on Snyk do yourself a favor and get on Socket, all you’re doing is training your engineers to ignore alerts while on Snyk 😅
socket.dev/blog/introdu...
loading . . .
Introducing Module Reachability: Focus on the Vulnerabilitie...
Module Reachability filters out unreachable CVEs so you can focus on vulnerabilities that actually matter to your application.
https://socket.dev/blog/introducing-module-reachability
7 months ago
0
1
0
reposted by
Cody
7 months ago
Today we're sharing that View Transitions and Activity are ready to try in the experimental channel, along with docs and updates on other areas we're actively working on:
react.dev/blog/2025/04...
loading . . .
React Labs: View Transitions, Activity, and more – React
The library for web and native user interfaces
https://react.dev/blog/2025/04/23/react-labs-view-transitions-activity-and-more
8
220
70
reposted by
Cody
Matt Kane
7 months ago
At the weekend I spent some time thinking about ways to do image placeholders without client-side JS. The normal way is inline data URIs, but they need to be relatively large to avoid artifacts. I have a prototype that uses CSS vars to define 12 radial gradients, which gives a nice effect I think.
loading . . .
1
27
1
reposted by
Cody
danielroe 🔛 jsnation nyc 🇺🇸
7 months ago
I'm delighted to announce my latest project ⚡️ blazing fast 📦 built from scratch for devs 🎛️ offering full control of your environment 💰 VC funding welcome accept no imitations
loading . . .
Dev Mode - Toggle Your Developer Environment
Easily turn dev mode on and off from one single site.
https://dev-mode.dev
50
287
36
reposted by
Cody
amos
8 months ago
oklch is the color space you should be using in 2025, here's a great color picker & converter for it (since dev tools are lagging behind):
oklch.com
loading . . .
OKLCH Color Picker & Converter
OKLCH is a new way to encode colors (like hex, RGBA, or HSL)
https://oklch.com
3
87
10
reposted by
Cody
Ivan Akulov
8 months ago
Introducing
@Framer.com
Code Boundaries. No more optimization errors, no more blank pages, and no more searching for broken Components. (Or: how we went down the rabbit hole of React error handling for a month 🧵)
1
26
7
reposted by
Cody
Sanity
8 months ago
The Live Content API is now Generally Available! 🔥 No more refresh buttons. No more stale content. Your content updates flow to users in real-time—like magic ✨ Build truly responsive experiences across any modern framework. 👉
sanity.io/blog/the-live-content-api-is-now-generally-available
loading . . .
The Live Content API is now Generally Available | Sanity
The Live Content API is now production-ready for all Sanity users. This enables real-time content delivery at scale with minimal implementation overhead.
https://sanity.io/blog/the-live-content-api-is-now-generally-available
0
13
3
Live Content Loaders sounds perfect for our Live Content API
@sanity.io
add a skeleton here at some point
8 months ago
0
3
0
reposted by
Cody
Alasdair Beckett-King
8 months ago
Every mind-bending TV show:
loading . . .
133
4873
1558
Load more
feeds!
log in