wana icon indicating copy to clipboard operation
wana copied to clipboard

Prepare for concurrent mode

Open aleclarson opened this issue 6 years ago • 1 comments

In concurrent mode, renders can be discarded, which means they'll never be committed to the DOM (or whatever native host). There are potentially other issues as well (see here).

Currently, the withAuto and useAuto functions cause side effects during render, which means memory leaks will occur in concurrent mode.

aleclarson avatar Aug 11 '19 12:08 aleclarson

The withAuto and useAuto functions no longer leak (since v0.3.0), but there are still issues in concurrent mode (if this is anything to go by). I'm going to wait until concurrent mode is released before doing anymore work on this.

aleclarson avatar Aug 25 '19 16:08 aleclarson