Erikas B.
Erikas B.
_**Chrome Version 122.0.6261.129 (Official Build) (64-bit)**_ Can't reproduce. Refreshes accumulate MB infinitely, but waiting for ~5 seconds or pressing "Collect garbage" flushes everything instantly down to ~10 MB. _**Firefox Version...
I checked the code of ReactDOM.render() and ReactDOM.createRoot().render(). Seems like the legacy version always runs flushSync() _(seems like modern version does not)_: ```js function legacyCreateRootFromDOMContainer( container: Container, initialChildren: ReactNodeList, parentComponent:...
But I will check a little bit more - it looks like sometimes it also appears instantly as "Ready" on average after ~20 re-renders _(for me)_, seems like worth to...
Bundled your example with Vite to check how it is represented there with and without your workaround of flushSync() and really see not much of difference (except the additional 7k...