Open
Description
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 underlying shouldComponentUpdate
s.
In my case, I have a relatively large application and the showing and dismissing of these Popup
s and Modal
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?