Nick
nicklucas.dev
Nick
@nicklucas.dev
👨🏼‍💻 Full-stack Engineer building tools for humans by day. Full-time tech nerd. tRPC Core. TypeScript ❤️ React
I’m beginning to think that everyone who posted 🦋 on X/twitter and wasn’t a HUGE account got deranked the same way that @danabra.mov did (twice I think?)

Even paying them money I’m lucky if my posts get 50 views even with promoting the post privately to friends for likes and stuff.
October 4, 2025 at 7:57 AM
I hear a lot of folk repeating this idea that LLMs don't know what they're going to say until they've said it, and knowing a little about their workings I wrote up a post about this misconception. LLMs do know what they're going to say!

dev.to/nicklucas/ll...
LLMs do know what they're going to say
The following is written to be as penetrable as possible for a semi-technical audience, and includes...
dev.to
September 27, 2025 at 4:45 PM
Reposted by Nick
back in my day vibe coding was just asking your smart friends what to do and acting dumb when they try to explain

never seen someone take over my keyboard and type so fast
August 5, 2025 at 8:48 AM
I honestly haven’t said WAT so much since Gary Bernhardt’s “WAT”

www.destroyallsoftware.com/talks/wat
July 12, 2025 at 10:21 AM
I really installed this with an open mind, but colour on buttons is important and there is no way glass controls should be inheriting the colour from behind. It’s a gorgeous control, but colour is not up for grabs for arbitrary use if you like UX
June 10, 2025 at 10:09 PM
useEffect is the root of all evil and should be avoided

react or dev tools should provide a mode to log all the effects which fire named by component/hook, it would massively shorten debugging journeys
June 6, 2025 at 11:29 AM
Agents are too powerful for coding.

They’re not great at everything, but for very specific or repetitive tasks they’re king. I just added a WAF to cloudfront in minutes to restrict IP ranges, that sort of terraforming task used to be a full afternoon of research and fiddling
May 2, 2025 at 3:07 PM
My as an experienced dev trying vibe coding with copilot’s agent mode for the first time and seeing an actually very reasonable sourdough recipe generator and feature requests actually working
a man in a suit and tie is standing in front of a cnn background
ALT: a man in a suit and tie is standing in front of a cnn background
media.tenor.com
April 14, 2025 at 9:48 PM
This investigation is the most exciting thing happening in JavaScript right now. Fingers crossed it can be fixed as it will completely change tRPC performance characteristics at scale
Investigating a TypeScript caching issue that could have a *massive* impact for validators like ArkType, Zod and Valibot.

For projects that heavily rely on schema inference like tRPC, fixing this could have a bigger impact than tsgo.

Trigger Warning: O(3^N)
March 27, 2025 at 7:46 PM
For those finishing up Severence tonight: www.youtube.com/watch?v=s85E...

Please try to enjoy each chord equally.
The Severance Theme sounds SICK on Classical Guitar ...
YouTube video by Sam Griffin Guitar
www.youtube.com
March 21, 2025 at 7:29 PM
It's been a while coming but this is a huge release. My personal favourite addition is out the box support for FormData and File/Blob/Uint8Array in procedure inputs
March 21, 2025 at 7:29 PM
I really don’t think copilot is coming for our jobs any time soon. It can’t even translate min(0) correctly from Zod to ArkType
March 17, 2025 at 4:23 PM
This is the best thing I’ve read this year. So excited!
Today we're thrilled to announce our effort to port the TypeScript compiler and language service to native code, gaining a 10x speed boost in build times and editor responsiveness!

devblogs.microsoft.com/typescript/t...
A 10x Faster TypeScript - TypeScript
Embarking on a native port of the existing TypeScript compiler and toolset to achieve a 10x performance speed-up.
devblogs.microsoft.com
March 11, 2025 at 3:07 PM
11.0.0-rc.814 of @trpc.io is out now, fixing a great many reported issues in the new @trpc/tanstack-react-query package! Keep the feedback coming, we also have a number of further codemod improvements in the works
February 26, 2025 at 10:13 PM
Today I was automating some documentation generation into Confluence, and realised it just works off HTML under the hood with some custom elements for widgets.

React's `renderToString` method plus custom elements type declarations and you have a familiar templating engine in 10 minutes 😙🤌
February 26, 2025 at 6:10 PM
Fed up of the git checkout & pull dance, especially when you have repos that don't agree on master/main/next as your default? Here's an alias:

```
git config --global alias.sm '!f() { git switch $(git remote show $(git remote | head -n 1) | sed -n "/HEAD branch/s/.*: //p") && git pull; }; f'
```
February 22, 2025 at 12:08 PM
Looks like some small oversights in the new TanStack client for tRPC. Nothing serious but a few small breaking changes may be needed before it’s fully stable

Keep the feedback coming!
February 19, 2025 at 5:59 PM
Reposted by Nick
@trpc.io now offers an integration built on top of queryOptions. I'm pretty hyped about this 🙌
Introducing the new TanStack React Query integration | tRPC
We are excited to announce the new TanStack React Query integration for tRPC is now available on tRPC's next-release. Compared to our classic React Query Integration it's simpler and more TanStack Que...
trpc.io
February 18, 2025 at 6:41 AM
We just released our new TanStack Query adapter for @trpc.io powered by the `queryOptions` API. Codemod available (still a bit of a WIP but works quite well) for simple migration.

Let us know what you think!

trpc.io/blog/introdu...
Introducing the new TanStack React Query integration | tRPC
We are excited to announce the new TanStack React Query integration for tRPC is now available on tRPC's next-release. Compared to our classic React Query Integration it's simpler and more TanStack Que...
trpc.io
February 18, 2025 at 8:29 AM
We just released our new TanStack Query adapter for @trpc.io powered by the `queryOptions` API. Codemod available (still a bit of a WIP but works quite well) for simple migration.

Let us know what you think!

trpc.io/blog/introdu...
Introducing the new TanStack React Query integration | tRPC
We are excited to announce the new TanStack React Query integration for tRPC is now available on tRPC's next-release. Compared to our classic React Query Integration it's simpler and more TanStack Que...
trpc.io
February 18, 2025 at 8:29 AM
Good things are coming to tRPC, please consider helping out by trying out the codemod to upgrade your code and feeding back or fixing any issues!
jumr.dev Julius @jumr.dev · Feb 11
We're about to release a new @trpc.io x @tanstack.com package and are working on a codemod - anyone good at wrangling these things and wants to help out?

We can offer beer-money in return 🍻🤑
February 11, 2025 at 4:45 PM
This is absurd, I love it!

Execute your typescript types as if they were runtime code!

github.com/betafcc/dtsr
February 9, 2025 at 8:24 PM
Is it really the case that JavaScript generators don’t have a primitive in either the language or node.js to merge multiple generators/iterators into 1?

I ended up using an EventEmitter, event callbacks, and node’s on() method to merge multiple websocket feeds, but it is grim
February 5, 2025 at 11:17 PM
Suddenly had a burst of nostalgia for when installing a game looked like this
January 20, 2025 at 2:07 PM
Building on React Native is essentially like balancing on top of an endless pile of vertically stacked dominoes

Why do I miss it so much?
danabra.mov dan @danabra.mov · Jan 13
narrowed down the issue with unintentional taps during feed swipe on Android to this minimal reproducing case. it has something to do with Reanimated? believe me or not, if i either:

- remove `unused` state
- stop passing `unused2` value
- remove <Noop /> that renders nothing

the bug goes away 🥴
January 14, 2025 at 12:22 PM