So I'm using Next.js with jotai a few months now. The problem is that with every change (and when the fast-refresh occurs due to the change), the atoms are reset and I have to refresh the page manually.
Do you know if there is any configuration that I need to make in order for it to not reset the atoms when the fast refresh occurs?
Here is a codesandbox link, but there is no fast refresh there (I am using the same code)
https://codesandbox.io/s/nextjs-with-jotai-forked-eori6o?file=/pages/_app.js
Thank you!