alloc / alloc/wana

Prepare for concurrent mode

未关闭
#3 1 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
enhancement
主要语言
TypeScript
星标
176
派生
9
PR 合并指标
30 天内没有已合并 PR

描述

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](https://github.com/dai-shi/will-this-react-global-state-work-in-concurrent-mode)).

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

贡献指南

打开贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。