2021-05-11
1886
#react
Ovie Okeh
5868
May 11, 2021 â‹… 6 min read

Using React Hooks for state management

Ovie Okeh Programming enthusiast, lover of all things that go beep.

Recent posts:

Effective rendering with Selective SSR in TanStack Start

TanStack Start’s Selective SSR lets you control route rendering with server, client, or data-only modes. Learn how it works with a real app example.

Amazing Enyichi Agu
Aug 14, 2025 â‹… 10 min read

The deep internals of event delegation: When bubbling isn’t enough

Learn how event delegation works, why it’s efficient, and how to handle pitfalls, non-bubbling events, and framework-specific implementations.

Clara Ekekenta
Aug 14, 2025 â‹… 10 min read
ai dev tool power rankings

AI dev tool power rankings & comparison [August 2025 edition]

Our August 2025 AI dev tool rankings compare 17 top models and platforms across 40+ features. Use our interactive comparison engine to find the best tool for your needs.

Chizaram Ken
Aug 14, 2025 â‹… 8 min read

React’s `use()` API is about to make useContext obsolete

Learn how React’s new use() API elevates state management and async data fetching for modern, efficient components.

Emmanuel John
Aug 12, 2025 â‹… 7 min read
View all posts

One Reply to "Using React Hooks for state management"

  1. There is a reason that you didn’t passed the reducer function in this line :

    const [store, dispatch] = useReducer(initialState)

    at the Replacing Redux with useReducer
    section ?

Leave a Reply