I am a student studying frontend development for about a year
Recently, I tried to apply Next.js and Recoil together in a project, but I came across articles about Recoil’s memory leak and SSR issues. Since the article was from a year ago, I wanted to know if these issues have been resolved recently, but I couldn’t find any information.
From the updates mentioned in the Recoil’s official documentation, I found the following:
In 2022: Cleanup memory leak when using atoms with selector defaults. (#1821, #1840, #1844)
In May 2023: Fix resolving suspense of async selectors used with SSR (#2073, #1960)
Fix SSR with some versions of React DOM used with Next.js 13 (#2082, #2086)
Based on this, have the issues with Recoil been resolved?
Also, if you have any tips on how to analyze and resolve such problems, could you share them?
Thank you! 🙂
I found Docs and just searching about recoil’s memory leak issue
mina is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.