help wantedperformance
倉庫指標
- Star
- (19,428 star)
- PR 合併指標
- (30 天內沒有已合併 PR)
描述
Hello there,
The resources created by atomFamily and selectorFamily are not being properly freed when the specific key changes or if the component using the related RecoilState<T> unmounts.
Since I believe that memory management isn't properly implemented yet, both utils should be marked as _UNSAFE.
https://codesandbox.io/s/cranky-booth-penix?file=/src/App.js