Teleport react components in your page
Whenever you need to take content with functionality from a component and put it somewhere else on the page, you can use a react portal.
For example, if you have an input component that outputs some text in a div, you can pass that div to a portal a...
featuringcode.com3 min read