#2329·Recoil

How to effectively clear memory stacks related to dirty atoms in Recoil?

Author: mechwarrCreated Dec 5, 2024Updated Dec 5, 2024

image

In the attached image, my React frontend shows that after running for a certain amount of time, dirtyAtoms occupy up to 26% of the memory. I believe this is very dangerous. I have tried reinitializing the RecoilRoot, but that causes my current state to be lost. Has anyone encountered this issue with Recoil?

Source: facebookexperimental/Recoil