New Jan 8, 2026

React has changed, your Hooks should too

More Front-end Bloggers All from Frontend Masters Boost RSS Feed View React has changed, your Hooks should too on frontendmasters.com

Matt Smith:

React Hooks have been around for years, but most codebases still use them the same way: a bit of useState, an overworked useEffect, and a lot of patterns that get copy-pasted without much thought. […]

Before reaching for useEffect, ask yourself:

  • Is this driven by something external (network, DOM, subscriptions)?
  • Or can I compute this during render?

If it’s the latter, tools like useMemouseCallback, or framework-provided primitives will make your component a lot less fragile.

Scroll to top