2023-05-16
4472
#react
Peter Ekene Eze
10577
May 16, 2023 â‹… 15 min read

Building reusable UI components with React Hooks

Peter Ekene Eze Learn, Apply, Share

Recent posts:

Implementing React Islands In Static Web Applications

Implementing React Islands in static web applications

React Islands integrates React into legacy codebases, enabling modernization without requiring a complete rewrite.

Nelson Michael
Jan 28, 2025 â‹… 4 min read

Onlook: A React visual editor

Onlook bridges design and development, integrating design tools into IDEs for seamless collaboration and faster workflows.

Jude Miracle
Jan 27, 2025 â‹… 8 min read
A Comprehensive Guide To JavaScript Generators

A comprehensive guide to JavaScript generators

JavaScript generators offer a powerful and often overlooked way to handle asynchronous operations, manage state, and process data streams.

Fimber Elemuwa
Jan 24, 2025 â‹… 8 min read
​​Solving Micro-Frontend Challenges With Module Federation

​​Solving micro-frontend challenges with Module Federation

webpack’s Module Federation allows you to easily share code and dependencies between applications, helpful in micro-frontend architecture.

Peter Aideloje
Jan 23, 2025 â‹… 7 min read
View all posts

3 Replies to "Building reusable UI components with React Hooks"

  1. There is more wrong things and anti patterns. for example this useEffect

    useEffect(() => {
    setTimeout(() => {
    setShow(false);
    }, 3000);
    });

    where is return statment for this setTimeout , or value depenedency. Come on, it will run every component update. You dont want this defenietly..

Leave a Reply