---
title: "victor ogbonna (@greyhaired) | Hashnode"
description: "A Full Stack Developer at work; A Tech Enthusiast at heart. Read the latest articles by victor ogbonna on Hashnode."
url: "https://hashnode.com/@greyhaired"
---

@greyhaired

# victor ogbonna

@greyhaired · Rivers, Nigeria · Joined October 2022

A Full Stack Developer at work; A Tech Enthusiast at heart

[Website](https://www.greyhaired.dev/?target=0your%20firm)

### [Creating Modals/Popups with useContext](https://greyhaired.dev/creating-modalspopups-with-usecontext?utm_source=hashnode&utm_medium=feed)

Are you still sending values to the child component at the bottom? Why not separate the value into a file and have the desired components import it?

7 min read · [greyhaired.dev](https://greyhaired.dev/creating-modalspopups-with-usecontext?utm_source=hashnode&utm_medium=feed)

[Oct 30, 2022](https://hashnode.com/posts/creating-modalspopups-with-usecontext/635dc5ef21c0829770c448d6)

### [Handling pagination with UseReducer](https://greyhaired.dev/handling-pagination-with-usereducer?utm_source=hashnode&utm_medium=feed)

Using useState to manage complex states in Pagination makes your code unclean. I'll demonstrate how to optimize it with useReducer.

12 min read · [greyhaired.dev](https://greyhaired.dev/handling-pagination-with-usereducer?utm_source=hashnode&utm_medium=feed)

[2](https://hashnode.com/posts/handling-pagination-with-usereducer/6352de4a9b8e1cc8a0ee0d5a) [Oct 21, 2022](https://hashnode.com/posts/handling-pagination-with-usereducer/6352de4a9b8e1cc8a0ee0d5a)
