Creating Modals/Popups with useContext
Oct 30, 2022 · 7 min read · Modals 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...
Join discussion
