Open doubleA411 opened 3 months ago
I think that's the right move Because, I don't know exactly the entire code of the service, but looking at the imported contents, Next.js and recoil are used together.
However, if you use Next.js your states will disappear when the browser refreshes.
Of course, initialization is possible if the browser refreshes and uses the newly received state from the server as the initializeState of RecoilRoot.
here is the login code
code for setting the states
when i first log in to spotify, it works fine and the state is set, and another state is empty, but when i log into youtube after spotify, the state of spotify gets empty and only youtube's state is there.
is there anything im doing wrong ?!
here's the atoms,