Theo - t3․gg

Unintuitive behaviors of React Hooks | Theo - t3․gg

Theo - t3․gg

Summary

Hilton introduces a unique service aimed at college football fans, dubbed the "superstition concierge," designed to cater to various fan rituals. The service promises to accommodate requests such as booking rooms that match lucky numbers or ensuring that lucky jerseys are not washed, emphasizing Hilton's commitment to hospitality on game days.

In a separate discussion, the complexities of React's state management and the use of refs are explored. A detailed explanation reveals how the order of operations in React—state change, rendering, and effects—can lead to unintuitive behaviors, particularly when trying to track previous state values. The conversation highlights the importance of understanding these processes to avoid confusion and improve coding practices, suggesting the creation of custom hooks to simplify state management.

Show Notes

Unintuitive behaviors of React Hooks Theo is a software dev nerd mostly known for full stack TypeScript stuff. Check out Theo and his stack at t3.gg --------------------

------------- Keywords: ai coding, typescript, github, coding models, gpt, shadcn, cursor, coding Learn more about your ad choices. Visit megaphone.fm/adchoices

More from Theo - t3․gg

Oct 28, 2026

How was this not in the browser before??? Theo is a software dev nerd mostly known for full stack TypeScript stuff. Check out Theo and his stack at t3.gg ------------------------

Oct 28, 2026

"Zero JS" Is A Bad Idea Theo is a software dev nerd mostly known for full stack TypeScript stuff. Check out Theo and his stack at t3.gg -----------------------------

Oct 28, 2026

I found "use cache" BEFORE it dropped Theo is a software dev nerd mostly known for full stack TypeScript stuff. Check out Theo and his stack at t3.gg --------------

Oct 28, 2026

React Native is kind of broken (they NEED to fix this) Theo is a software dev nerd mostly known for full stack TypeScript stuff. Check out Theo and his stack at t3.gg --------

Oct 28, 2026

My new app is here. It's really fast. Theo is a software dev nerd mostly known for full stack TypeScript stuff. Check out Theo and his stack at t3.gg -------------------------

See all episodes →