Relative Content

Tag Archive for reactjspromisemodal-dialogdrawer

Create a dynamic react component using portal and promise

Call a modal or drawer from anywhere in my react app using simple a function.
I have made this work by using the root.render, but the problem with root.render they cannot found any of my previous providers, makeing me duplicate and import all providers again in this component. Is there a way to do this even if it’s not with the portal?