You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have an open pull request (see #92 & #93) for migrating this library to use ReactDOM.createPortal. I think the benefit is in not having to recreate the same boilerplate and the additional hooks a library like this provides (such as the initalContent and mountTarget).
Since Portals were introduced in React 16, are there any benefits to use
react-frame-component
overReactDOM.createPortal
?For example: https://gist.github.com/robertgonzales/b1966af8d2a428a8299663b92fb2fe03
The text was updated successfully, but these errors were encountered: