nater.dev ☀️
nater-dev.bsky.social
nater.dev ☀️
@nater-dev.bsky.social
staff frontend engineer | shipping & scaling
From the classic “Ball of Mud” paper:

“The first step on the road to architectural integrity can be to identify the disordered parts of the system, and isolate them from the rest of it.”
December 13, 2024 at 12:55 PM
🎁 #React 19 is the gift that keeps on giving. We can finally drop useState in forms!

With useActionState, you can streamline complex form logic into a single hook—no more scattered state updates. It can handle actions on the client OR server 🧑‍🍳💋

Have you tried useActionState? What do you think?
December 11, 2024 at 12:13 PM
Stop overusing useEffect for DOM tweaks!

In React 19, the ref callback cleanup lets you handle DOM side effects directly.

But don’t take it from me… @tkdodo.eu wrote a great post about it: tkdodo.eu/blog/ref-cal...
December 10, 2024 at 2:52 PM
Setting state in useEffect? 🚨 That triggers a render loop:

state changes→
render→
useEffect→
setState→
more renders.

Instead, compute derived state directly—no loops, just clean, efficient code!

#react
December 9, 2024 at 11:48 AM
🤔 Is React still the right choice for new apps in 2025?

Alex Russell argues React’s abstractions, performance, and ecosystem are at odds with high-performing web experiences. He challenges engineers to ground technology choices in real user metrics rather than following trends
December 5, 2024 at 12:24 PM
Did you know the ref prop in React can do more than just give you access to DOM nodes? ref callbacks can streamline your code and handle side effects without useEffect or useRef.
December 3, 2024 at 1:37 PM