Popup: Using React Portal instead of re-rendering the RootView #1196
Labels
enhancement
help wanted
stale
This ticket may be old, or may no longer be valid, and will be closed if no further activity occurs
I understand that, currently, when a modal is shown or dismissed, the changes are reflected with the updating of the RootView component using the
ReactDOM.render
function, which will re-render the whole tree, irrespective of any underlyingshouldComponentUpdate
s.In my case, I have a relatively large application and the showing and dismissing of these
Popup
s andModal
s—because it tries to render everything on each of these events—has a very poor user experience.Now, I was wondering if it would be possible and more appropriate, for the sake of better performance, to implement this functionality on the web using React Portal?
The text was updated successfully, but these errors were encountered: