VOvictor ogbonnaingreyhaired.dev·Oct 30, 2022 · 7 min readCreating Modals/Popups with useContextModals can be enabled in React by using the 'React createPortal', but for some reason, I was unable to do the same in NextJs. I made the decision to look for a solution. I discovered a technique with "useContext" that avoided the need for "createPort...00
VOvictor ogbonnaingreyhaired.dev·Oct 21, 2022 · 12 min readHandling pagination with UseReducerAs I worked on a website project's pagination area, I discovered that I had multiple states and user-defined functions. I decided to look for an alternative because it appeared unkempt and disorganized. One hook stood out to me from my research: useR...02CG