-
|
I have configured an atom with ttl of 0. It uses At first, since I'm using react router, I thought it might be holding routes in memory, but I checked the component tree, and do not see the page that creates the atom. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 26 replies
-
|
I inspected the ecosystem and found that the atom had a dependent on an instance returned by |
Beta Was this translation helpful? Give feedback.
Beautiful, was just coming back to comment. I published v1.3.1 and plugged it into the repro repo. Even adding unstable selector refs via
useAtomSelectorand multiple different types of hook calls, the repro now creates the same expected dependencies in both React 18 and 19, both with and without StrictMode.Thank you @joprice!