Custom uikit library, how to create a good reusable modal component with createPortal()
actually i’m working on a custom uikit library for React, and i wrote a lot of reusable component.
Now i want to create a good reusable Modal component, that must be rendered always on top of all elements, so i decided to use createPortal(). but now i have a few questions…